#---------------------------------------------------------------------------- # SET THE NAME OF YOUR EXECUTABLE # Replace 'MyExe' by the name you want to give your executable. # (a good policy is to give the executable the same name that the directory) ######################### SET ( EXE_NAME MyExe ) ######################### #---------------------------------------------------------------------------- #---------------------------------------------------------------------------- # EXECUTABLE SOURCES (TO BE COMPILED) # EITHER LIST ALL .cxx, *.cpp, *.cc IN CURRENT DIR USING NEXT LINE: FILE(GLOB ${EXE_NAME}_SOURCES *.cxx *.cpp *.cc) # OR MANUALLY LIST YOUR FILES WITH NEXT COMMAND (WITHOUT EXTENSION) # SET ( ${EXE_NAME}_SOURCES # # ) #---------------------------------------------------------------------------- INCLUDE_DIRECTORIES ( # Add here the directories holding th extra .h files you need # e.g. # ../../lib/ ) #---------------------------------------------------------------------------- # DEPENDENCIES (LIBRARIES TO LINK WITH) SET ( ${EXE_NAME}_LINK_LIBRARIES # ${crea_LIBRARIES} # ${WXWIDGETS_LIBRARIES} # ${KWWidgets_LIBRARIES} # ${VTK_LIBRARIES} # ${ITK_LIBRARIES} # ${GDCM_LIBRARIES} # ${BOOST_LIBRARIES} # Add here those agmonst the various (?) PROJECT LIBRARIES # you need for the current executable # (If you created only one Library, don't forget it !...) ) #---------------------------------------------------------------------------- #---------------------------------------------------------------------------- # CREATES AND INSTALLS THE EXE # Set to ON if your appli has a GUI (to build as a Win32 app on windows) SET(${EXE_NAME}_HAS_GUI OFF) # Set to ON if your appli has a GUI but you also want a msdos console on windows SET(${EXE_NAME}_CONSOLE OFF) CREA_ADD_EXECUTABLE( ${EXE_NAME} ) #----------------------------------------------------------------------------