source: trunk/tmdmcreator/build/CMakeLists.txt @ 18

Revision 6, 670 bytes checked in by lucsch, 12 years ago (diff)

preliminary code for tmdmcreator

RevLine 
[4]1# CMAKE BUILD FILE FOR TmDmCreator
2# (c) LUCIEN SCHREIBER CREALP 2013
3cmake_minimum_required(VERSION 2.6)
4
5PROJECT ("TmDmCreator")
6
7#search all source files
8FILE (GLOB_RECURSE SRC_FILES "../src/*.cpp")
9FILE (GLOB_RECURSE HEAD_FILES "../src/*.h")
10MESSAGE(${SRC_FILES})
11SOURCE_GROUP (source FILES ${SRC_FILES})
12SOURCE_GROUP (header FILES ${HEAD_FILES})
13
14# WXWIDGETS
15# DEFINE ALL INCLUDES AND SO ON
16SET(WXWINDOWS_USE_GL 0)
[6]17INCLUDE ("cmake/FindwxWidgets.cmake")
[4]18
19ADD_EXECUTABLE(${CMAKE_PROJECT_NAME} ${HEAD_FILES} ${SRC_FILES})
20
21# SHOULD WE USE THE MT VERSION FOR DEFAULT
22# COMPATIBILITY WITH < WINXP
23IF (WIN32)
24  INCLUDE ("cmake/Use_visualstudioMT.cmake")
25ENDIF (WIN32)
26
Note: See TracBrowser for help on using the repository browser.