-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
46 lines (35 loc) · 851 Bytes
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
cmake_minimum_required (VERSION 2.6)
set (PROJECT
ImgGenMM)
set (HEADERS
mind_map.h
map_loader.h
map_settings.h
map_drawer.h
lib/pugixml.hpp
lib/pugiconfig.hpp)
set (SOURCES
mind_map.cpp
map_loader.cpp
map_settings.cpp
map_drawer.cpp
lib/pugixml.cpp
main.cpp)
project (${PROJECT})
include_directories (D:/Ïðîãðàììû/Qt/4.7.2/lib/)
include_directories (D:/Ïðîãðàììû/Qt/4.7.2/include/)
include_directories (C:/Program Files/boost/boost_1_46_1/)
set (LIBRARIES
QtGui4.lib
QtCore4.lib)
source_group ("Header Files" FILES ${HEADERS})
source_group ("Source Files" FILES ${SOURCES})
if (MSVC)
add_definitions (/W3)
elseif (CMAKE_COMPILER_IS_GNUCXX)
add_definitions (-Wall -pedantic)
else ()
message ("Unknown compiler")
endif ()
add_executable (${PROJECT} ${HEADERS} ${SOURCES})
target_link_libraries (${PROJECT} ${LIBRARIES})