qmlfrontend/CMakeLists.txt
branchhedgeroid
changeset 15510 7030706266df
parent 15047 773beead236f
child 15894 ebc50f21e849
equal deleted inserted replaced
7861:bc7b6aa5d67a 15510:7030706266df
       
     1 cmake_minimum_required(VERSION 2.8.12)
       
     2 
       
     3 project(qmlfrontend LANGUAGES CXX)
       
     4 
       
     5 set(CMAKE_INCLUDE_CURRENT_DIR ON)
       
     6 set(CMAKE_AUTOMOC ON)
       
     7 set(CMAKE_AUTORCC ON)
       
     8 
       
     9 find_package(Qt5 COMPONENTS Core Quick REQUIRED)
       
    10 
       
    11 add_executable(${PROJECT_NAME} "main.cpp" "qml.qrc"
       
    12     "hwengine.cpp" "hwengine.h"
       
    13     "game_config.cpp" "game_config.h"
       
    14     "game_view.cpp" "game_view.h"
       
    15     "team.cpp" "team.h"
       
    16     "engine_instance.cpp" "engine_instance.h"
       
    17     "preview_image_provider.cpp" "preview_image_provider.h"
       
    18     "engine_interface.h"
       
    19     "preview_acceptor.cpp" "preview_acceptor.h"
       
    20     "net_session.cpp" "net_session.h"
       
    21     "players_model.cpp" "players_model.h"
       
    22     "rooms_model.cpp" "rooms_model.h"
       
    23     )
       
    24 
       
    25 target_link_libraries(${PROJECT_NAME} Qt5::Core Qt5::Network Qt5::Quick)