]> Creatis software - creaEnvironment.git/blob - appli/template_appli/CMakeLists.txt
3b02804d60c57d12baf15c79b74d7e6421e5b541
[creaEnvironment.git] / appli / template_appli / CMakeLists.txt
1 #----------------------------------------------------------------------------
2 # SET THE NAME OF YOUR EXECUTABLE
3 SET ( EXE_NAME   MyExe  )
4 #----------------------------------------------------------------------------
5
6 #----------------------------------------------------------------------------
7 # EXECUTABLE SOURCES (TO BE COMPILED)
8 # EITHER LIST ALL .cxx, *.cpp, *.cc IN CURRENT DIR USING NEXT LINE:
9 FILE(GLOB ${EXE_NAME}_SOURCES *.cxx *.cpp *.cc)
10 # OR MANUALLY LIST YOUR FILES WITH NEXT COMMAND (WITHOUT EXTENSION)
11 #  SET ( ${EXE_NAME}_SOURCES 
12 #   
13 #    )
14 #----------------------------------------------------------------------------
15
16 #----------------------------------------------------------------------------
17 # DEPENDENCIES (LIBRARIES TO LINK WITH)
18 SET ( ${EXE_NAME}_LINK_LIBRARIES
19   ${crea_LIBRARIES}
20   #    ${WXWIDGETS_LIBRARIES}
21   #    ${VTK_LIBRARIES}
22   #    ${ITK_LIBRARIES}
23   #    ${GDCM_LIBRARIES}
24   #    ${BOOST_LIBRARIES}
25   )
26 #----------------------------------------------------------------------------
27
28 #----------------------------------------------------------------------------
29 # CREATES AND INSTALLS THE EXE
30 CREA_ADD_EXECUTABLE( ${EXE_NAME} )
31 #----------------------------------------------------------------------------
32
33