diff options
| author | manzerbredes <loic.guegan_secondary@yahoo.fr> | 2015-04-12 15:18:33 +0200 |
|---|---|---|
| committer | manzerbredes <loic.guegan_secondary@yahoo.fr> | 2015-04-12 15:18:33 +0200 |
| commit | 9dc95b5197cbee29558b044907328dda2d1bf07f (patch) | |
| tree | 7fc7971f279b6c97b70edac67ffa65f9c43268bc /src/CMakeLists.txt | |
| parent | 1ac5203e386e80f80906a341bf7ae9eaa124d774 (diff) | |
Diffstat (limited to 'src/CMakeLists.txt')
| -rw-r--r-- | src/CMakeLists.txt | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 438d2dc..34910cb 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1,18 +1,27 @@ +#Defined executable add_executable( forgetIt ./main.cpp ) +#Find all libraries find_package(LibXML++ REQUIRED) find_package(GTK3 REQUIRED) +find_package(Crypto++ REQUIRED) -include_directories(${LibXML++_INCLUDE_DIRS} ${GTK3_INCLUDE_DIRS}) -target_link_libraries(forgetIt ${LibXML++_LIBRARIES} ${GTK3_LIBRARIES}) +#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/) |
