From bb16c32bde58cba70e4877aa2d3ebd04332eb575 Mon Sep 17 00:00:00 2001 From: jacopograndi Date: Tue, 4 Jan 2022 13:35:02 +0100 Subject: linux compile and imgs --- CMakeLists.txt | 70 +++++++++++++++++++++++++++++----------------------------- 1 file changed, 35 insertions(+), 35 deletions(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index ed7acb4..b91379d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,36 +1,36 @@ -cmake_minimum_required(VERSION 3.16) -project(sdl_test VERSION 1.0.0) - -set(CMAKE_CXX_STANDARD 11) -set(CMAKE_CXX_STANDARD_REQUIRED YES) -set(CMAKE_CXX_EXTENSIONS OFF) - -set(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/build) - -add_executable(sdl_test - main.cpp - graphics/graphics.cpp graphics/graphics.h - graphics/cam.h - commands/commands.cpp commands/commands.h - timing/timing.cpp timing/timing.h - game/entity.cpp game/entity.h - game/ground.cpp game/ground.h - game/playercontrol.cpp game/playercontrol.h - game/gst.cpp game/gst.h - game/view.cpp game/view.h - game/menu.cpp game/menu.h - game/tile.cpp game/tile.h - game/load.cpp game/load.h - game/tech.cpp game/tech.h - game/player.h - game/constants.h - game/ai/action.cpp game/ai/action.h - game/ai/generator.h - game/ai/engine.h - game/ai/evaluator.h - game/ai/tactic.h - umath/vec2.h) - -target_include_directories(sdl_test PUBLIC "C:/MinGW_libs/include") -target_link_libraries(sdl_test -LC:/MinGW_libs/lib) +cmake_minimum_required(VERSION 3.16) +project(sdl_test VERSION 1.0.0) + +set(CMAKE_CXX_STANDARD 11) +set(CMAKE_CXX_STANDARD_REQUIRED YES) +set(CMAKE_CXX_EXTENSIONS OFF) + +set(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/build) + +add_executable(sdl_test + main.cpp + graphics/graphics.cpp graphics/graphics.h + graphics/cam.h + commands/commands.cpp commands/commands.h + timing/timing.cpp timing/timing.h + game/entity.cpp game/entity.h + game/ground.cpp game/ground.h + game/playercontrol.cpp game/playercontrol.h + game/gst.cpp game/gst.h + game/view.cpp game/view.h + game/menu.cpp game/menu.h + game/tile.cpp game/tile.h + game/load.cpp game/load.h + game/tech.cpp game/tech.h + game/player.h + game/constants.h + game/ai/action.cpp game/ai/action.h + game/ai/generator.h + game/ai/engine.h + game/ai/evaluator.h + game/ai/tactic.h + umath/vec2.h) + +target_include_directories(sdl_test PUBLIC "C:/MinGW_libs/include") +target_link_libraries(sdl_test -LC:/MinGW_libs/lib) target_link_libraries(sdl_test -lSDL2main -lSDL2) \ No newline at end of file -- cgit v1.2.3-54-g00ecf