comparison Platforms/Generic/CMakeLists.txt @ 215:07792a582de9

fix path
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 06 Jun 2018 13:53:21 +0200
parents 5412adf19980
children d7b2590744f8
comparison
equal deleted inserted replaced
214:1c5a47dda299 215:07792a582de9
45 ## Build all the sample applications 45 ## Build all the sample applications
46 ##################################################################### 46 #####################################################################
47 47
48 macro(BuildSample Target Sample) 48 macro(BuildSample Target Sample)
49 add_executable(${Target} 49 add_executable(${Target}
50 ${ORTHANC_STONE_DIR}/Applications/Samples/SampleMainSdl.cpp 50 ${ORTHANC_STONE_ROOT}/Applications/Samples/SampleMainSdl.cpp
51 ${APPLICATIONS_SOURCES} 51 ${APPLICATIONS_SOURCES}
52 ) 52 )
53 set_target_properties(${Target} PROPERTIES COMPILE_DEFINITIONS ORTHANC_STONE_SAMPLE=${Sample}) 53 set_target_properties(${Target} PROPERTIES COMPILE_DEFINITIONS ORTHANC_STONE_SAMPLE=${Sample})
54 target_link_libraries(${Target} OrthancStone) 54 target_link_libraries(${Target} OrthancStone)
55 endmacro() 55 endmacro()
70 ## Build the unit tests 70 ## Build the unit tests
71 ##################################################################### 71 #####################################################################
72 72
73 add_executable(UnitTests 73 add_executable(UnitTests
74 ${GOOGLE_TEST_SOURCES} 74 ${GOOGLE_TEST_SOURCES}
75 ${ORTHANC_STONE_DIR}/UnitTestsSources/UnitTestsMain.cpp 75 ${ORTHANC_STONE_ROOT}/UnitTestsSources/UnitTestsMain.cpp
76 ) 76 )
77 77
78 target_link_libraries(UnitTests OrthancStone) 78 target_link_libraries(UnitTests OrthancStone)
79 79
80 80
83 ##################################################################### 83 #####################################################################
84 84
85 find_package(Doxygen) 85 find_package(Doxygen)
86 if (DOXYGEN_FOUND) 86 if (DOXYGEN_FOUND)
87 configure_file( 87 configure_file(
88 ${ORTHANC_STONE_DIR}/Resources/OrthancStone.doxygen 88 ${ORTHANC_STONE_ROOT}/Resources/OrthancStone.doxygen
89 ${CMAKE_CURRENT_BINARY_DIR}/OrthancStone.doxygen 89 ${CMAKE_CURRENT_BINARY_DIR}/OrthancStone.doxygen
90 @ONLY) 90 @ONLY)
91 91
92 add_custom_target(doc 92 add_custom_target(doc
93 ${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/OrthancStone.doxygen 93 ${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/OrthancStone.doxygen