]> Creatis software - creaEnvironment.git/blob - appli/template_wx_appli/CMakeLists.txt
fd728c2899ad343e4595ad80836d518a75f86166
[creaEnvironment.git] / appli / template_wx_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 # UNCOMMENT NEXT LINE IF YOU WANT A CONSOLE ON WINDOWS
30 # NB : YOUR MAIN MUST BE ADAPTED ALSO
31 #      SEE THE MACRO CREA_WXMAIN_WITH_CONSOLE IN creaWx.h
32 #SET(${EXE_NAME}_CONSOLE TRUE)
33 #----------------------------------------------------------------------------
34
35 #----------------------------------------------------------------------------
36 # CREATES AND INSTALLS THE EXE
37 CREA_ADD_WX_EXECUTABLE( ${EXE_NAME} )
38 #----------------------------------------------------------------------------
39
40