diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2021-02-02 13:01:35 -0500 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2021-02-02 13:01:35 -0500 |
commit | 7166c9b831f9c6a50ba42272682b776d01e5703e (patch) | |
tree | b27c4b695a8cd5f64c680e358bb919e86ef7cd74 /CMakeLists.txt | |
parent | 362c332000a65acc060660dcb6bb0ec6f99cbafe (diff) | |
download | tanetane-7166c9b831f9c6a50ba42272682b776d01e5703e.tar.gz tanetane-7166c9b831f9c6a50ba42272682b776d01e5703e.tar.bz2 tanetane-7166c9b831f9c6a50ba42272682b776d01e5703e.zip |
Map rendering Works but I don't want to use Tileson so I'm gonna change that
Mainly bc Tileson requires std::filesystem, which my clang is too old for apparently, and while I can use gcc instead I just want to not, I suppose. Also Tileson's API is very weird RE const correctness? Idk. And also being able to parse the tmx files rather than exporting to json would be preferable.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 4bbc297..443fe86 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt | |||
@@ -2,6 +2,8 @@ cmake_minimum_required (VERSION 3.1) | |||
2 | project (tanetane) | 2 | project (tanetane) |
3 | 3 | ||
4 | set(CMAKE_BUILD_TYPE Debug) | 4 | set(CMAKE_BUILD_TYPE Debug) |
5 | set(CMAKE_C_COMPILER /usr/local/bin/gcc-10) | ||
6 | set(CMAKE_CXX_COMPILER /usr/local/bin/g++-10) | ||
5 | 7 | ||
6 | # Set directory to look for package helpers. | 8 | # Set directory to look for package helpers. |
7 | set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${tanetane_SOURCE_DIR}/cmake") | 9 | set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${tanetane_SOURCE_DIR}/cmake") |
@@ -19,6 +21,7 @@ include_directories( | |||
19 | ${SDL2_INCLUDE_DIR} | 21 | ${SDL2_INCLUDE_DIR} |
20 | ${SDL2_IMAGE_INCLUDE_DIRS} | 22 | ${SDL2_IMAGE_INCLUDE_DIRS} |
21 | src | 23 | src |
24 | vendor | ||
22 | ) | 25 | ) |
23 | 26 | ||
24 | link_directories( | 27 | link_directories( |