mirror of
https://github.com/devZoGok/PlanetFleet.git
synced 2026-08-26 19:43:29 +00:00
added and changed build flags for easier building on Windows
This commit is contained in:
+3
-2
@@ -4,9 +4,10 @@ set(GAME_NAME battleship)
|
||||
project(${GAME_NAME})
|
||||
|
||||
set(CMAKE_CXX_STANDART 17)
|
||||
set(CMAKE_CXX_FLAGS "-std=c++17 -Wpedantic")
|
||||
set(CMAKE_BUILD_TYPE Debug)
|
||||
set(BUILD_TESTS ON)
|
||||
set(BUILD_SHARED_LIBS ON CACHE BOOL FORCED)
|
||||
set(BUILD_TESTS OFF)
|
||||
set(BUILD_SHARED_LIBS OFF CACHE BOOL FORCED)
|
||||
cmake_policy(SET CMP0015 NEW)
|
||||
|
||||
set(UNIT_BUTTONS unitButton.cpp tradeButton.cpp buildButton.cpp trainButton.cpp researchButton.cpp)
|
||||
|
||||
Reference in New Issue
Block a user