author | unc0rr |
Sun, 25 Jan 2015 00:08:42 +0300 | |
branch | qmlfrontend |
changeset 10751 | 97d00ace1aed |
child 10819 | 57e21f7621b0 |
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 |
||
12 |
add_executable(hedgewars WIN32 |
|
13 |
main |
|
14 |
hwengine |
|
15 |
previewimageprovider |
|
16 |
themeiconprovider |
|
17 |
qtquick2applicationviewer/qtquick2applicationviewer |
|
18 |
) |
|
19 |
||
20 |
include_directories(${OPENGL_INCLUDE_DIR}) |
|
21 |
||
22 |
target_link_libraries(hedgewars Qt5::Core Qt5::Gui Qt5::Quick Qt5::Qml) |