]> Creatis software - creaRigidRegistration.git/blob - appli/template_appli/CMakeLists.txt
Added to library TransformLib.
[creaRigidRegistration.git] / appli / template_appli / CMakeLists.txt
1 #----------------------------------------------------------------------------
2 # SET THE NAME OF YOUR EXECUTABLE
3 # Replace 'MyExe' by the name you want to give your executable.
4 # (a good plicy is to give the executable the same name that the directory)
5
6 #########################
7 SET ( EXE_NAME   MyExe  )
8 #########################
9
10 #----------------------------------------------------------------------------
11
12 #----------------------------------------------------------------------------
13 # EXECUTABLE SOURCES (TO BE COMPILED)
14 # EITHER LIST ALL .cxx, *.cpp, *.cc IN CURRENT DIR USING NEXT LINE:
15
16 FILE(GLOB ${EXE_NAME}_SOURCES *.cxx *.cpp *.cc)
17
18 # OR MANUALLY LIST YOUR FILES WITH NEXT COMMAND (WITHOUT EXTENSION)
19 #  SET ( ${EXE_NAME}_SOURCES 
20 #   
21 #    )
22 #----------------------------------------------------------------------------
23
24 #----------------------------------------------------------------------------
25 # DEPENDENCIES (LIBRARIES TO LINK WITH)
26 SET ( ${EXE_NAME}_LINK_LIBRARIES
27   #    ${crea_LIBRARIES}
28   #    ${WXWIDGETS_LIBRARIES}
29   #    ${KWWidgets_LIBRARIES}
30   #    ${VTK_LIBRARIES}
31   #    ${ITK_LIBRARIES}
32   #    ${GDCM_LIBRARIES}
33   #    ${BOOST_LIBRARIES}
34   
35   # Add here those agmonst the various (?) PROJECT LIBRARIES
36   # you need for the current executable
37   # (If you created only one Library, don't forget it !...) 
38   
39   )
40 #----------------------------------------------------------------------------
41
42 #----------------------------------------------------------------------------
43 # CREATES AND INSTALLS THE EXE
44 # Set to ON if your appli has a GUI (to build as a Win32 app on windows)
45 SET(${EXE_NAME}_HAS_GUI   OFF)
46 # Set to ON if your appli has a GUI but you also want a msdos console on windows
47 SET(${EXE_NAME}_CONSOLE   OFF)
48 CREA_ADD_EXECUTABLE( ${EXE_NAME} )
49 #----------------------------------------------------------------------------
50
51