QTfrontend/CMakeLists.txt
changeset 119 665c07365cb6
parent 99 fd9613278d1b
child 127 ca70467bd0a8
equal deleted inserted replaced
118:fac200ee771c 119:665c07365cb6
     1 find_package(Qt4 REQUIRED)
     1 find_package(Qt4 REQUIRED)
     2 
     2 
     3 include_directories(${QT_INCLUDES} .)
     3 include_directories(${QT_INCLUDES} .)
       
     4 
       
     5 if(WIN32 AND NOT UNIX)
       
     6 	set(HEDGEWARS_BINDIR ".")
       
     7 else(WIN32 AND NOT UNIX)
       
     8 	set(HEDGEWARS_BINDIR ${CMAKE_INSTALL_PREFIX})
       
     9 endif(WIN32 AND NOT UNIX)
       
    10 
       
    11 configure_file(${hedgewars_SOURCE_DIR}/QTfrontend/main.cpp.in 
       
    12 	${hedgewars_SOURCE_DIR}/QTfrontend/main.cpp)
     4 
    13 
     5 set(hwfr_src 
    14 set(hwfr_src 
     6 	game.cpp
    15 	game.cpp
     7 	main.cpp
    16 	main.cpp
     8 	hwform.cpp 
    17 	hwform.cpp