author | unc0rr |
Tue, 24 Nov 2015 20:19:00 +0300 | |
branch | qmlfrontend |
changeset 11429 | d96a37de1076 |
parent 10886 | 99273b7afbff |
child 11439 | dd1350a475d9 |
permissions | -rw-r--r-- |
10751 | 1 |
cmake_minimum_required(VERSION 2.8.11) |
2 |
||
3 |
project(hedgewars) |
|
4 |
||
5 |
set(CMAKE_INCLUDE_CURRENT_DIR ON) |
|
6 |
set(CMAKE_AUTOMOC ON) |
|
7 |
||
8 |
find_package(OpenGL) |
|
9 |
||
10 |
find_package(Qt5 COMPONENTS Core Qml Quick Gui) |
|
11 |
||
10886 | 12 |
qt5_add_resources(qresources qmlFrontend.qrc) |
13 |
||
10751 | 14 |
add_executable(hedgewars WIN32 |
15 |
main |
|
16 |
hwengine |
|
17 |
previewimageprovider |
|
18 |
themeiconprovider |
|
19 |
qtquick2applicationviewer/qtquick2applicationviewer |
|
10819
57e21f7621b0
Send selected scheme config on engine initialization (WIP)
unc0rr
parents:
10751
diff
changeset
|
20 |
flib.h |
10886 | 21 |
${qresources} |
10751 | 22 |
) |
23 |
||
24 |
include_directories(${OPENGL_INCLUDE_DIR}) |
|
25 |
||
26 |
target_link_libraries(hedgewars Qt5::Core Qt5::Gui Qt5::Quick Qt5::Qml) |