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