author | unc0rr |
Fri, 15 Jul 2016 22:39:07 +0300 | |
branch | qmlfrontend |
changeset 11846 | 6adf27e85cae |
parent 11444 | 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) |
|
11444 | 27 |
install(PROGRAMS "${EXECUTABLE_OUTPUT_PATH}/hedgewars${CMAKE_EXECUTABLE_SUFFIX}" DESTINATION ${target_binary_install_dir}) |