X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=ModuleCall%2FCMakeLists.txt;fp=ModuleCall%2FCMakeLists.txt;h=474b985473f40538a32e5e98c172e965c3579d96;hb=462cbc78485df39d3141c2d1e6137c4b78ab5db2;hp=0000000000000000000000000000000000000000;hpb=ba07bca141bd819a79c6684aa1b56b0a705aa664;p=creaCLI.git diff --git a/ModuleCall/CMakeLists.txt b/ModuleCall/CMakeLists.txt new file mode 100644 index 0000000..474b985 --- /dev/null +++ b/ModuleCall/CMakeLists.txt @@ -0,0 +1,32 @@ +CMAKE_MINIMUM_REQUIRED(VERSION 2.6) +project (Inter) +set (Inter_VERSION_MAJOR 1) +set (Inter_VERSION_MINOR 0) + +SET(CMAKE_CXX_FLAGS "-ldl -w") + +FIND_PACKAGE (GenerateCLP REQUIRED) +if (GenerateCLP_FOUND) + INCLUDE(${GenerateCLP_USE_FILE}) +endif (GenerateCLP_FOUND) + +FIND_PACKAGE (ModuleDescriptionParser REQUIRED) +if (ModuleDescriptionParser_FOUND) + INCLUDE(${ModuleDescriptionParser_USE_FILE}) +endif (ModuleDescriptionParser_FOUND) + +SET(INCLUDE_DIRS + ${GenerateCLP_BINARY_DIR} + ${GenerateCLP_SOURCE_DIR} + ${ModuleDescriptionParser_BINARY_DIR} + ${ModuleDescriptionParser_SOURCE_DIR} + ) + +SET(LINK_DIRECTORIES + ${GenerateCLP_LINK_DIRECTORY} + ${ModuleDescriptionParser_LINK_DIRECTORY} + ) + +ADD_EXECUTABLE (interoperating_Baby main.cpp CreationTool.cxx) +TARGET_LINK_LIBRARIES (interoperating_Baby ${ModuleDescriptionParser_LIBRARY} ModuleDescriptionParser ) +