blob: 34910cb76390c9fba1d66ed4e1e3937dcd6cc837 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
#Defined executable
add_executable(
forgetIt
./main.cpp
)
#Find all libraries
find_package(LibXML++ REQUIRED)
find_package(GTK3 REQUIRED)
find_package(Crypto++ REQUIRED)
#Include "Includes" and "Libraries"
include_directories(${LibXML++_INCLUDE_DIRS} ${GTK3_INCLUDE_DIRS} ${CRYPTO++_INCLUDE_DIR})
target_link_libraries(forgetIt ${LibXML++_LIBRARIES} ${GTK3_LIBRARIES} ${CRYPTO++_LIBRARIES})
#Export "Includes" and "Libraries" to cache
set_property(GLOBAL PROPERTY LibXML++_INCLUDE_DIRS "${LibXML++_INCLUDE_DIRS}")
set_property(GLOBAL PROPERTY LibXML++_LIBRARIES "${LibXML++_LIBRARIES}")
set_property(GLOBAL PROPERTY CRYPTO++_INCLUDE_DIR "${CRYPTO++_INCLUDE_DIR}")
set_property(GLOBAL PROPERTY CRYPTO++_LIBRARIES "${CRYPTO++_LIBRARIES}")
#Add subdirectory
add_subdirectory(./CryptClass/)
add_subdirectory(./IOFileClass/)
add_subdirectory(./ParserClass/)
|