diff options
| -rw-r--r-- | CMakeLists.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 7878617..7cc7cdf 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt | |||
| @@ -6,21 +6,21 @@ set(CMAKE_C_STANDARD 23) | |||
| 6 | set(CMAKE_C_STANDARD_REQUIRED On) | 6 | set(CMAKE_C_STANDARD_REQUIRED On) |
| 7 | set(CMAKE_C_EXTENSIONS Off) | 7 | set(CMAKE_C_EXTENSIONS Off) |
| 8 | 8 | ||
| 9 | add_executable(game | 9 | add_executable(swgame |
| 10 | src/main.c) | 10 | src/main.c) |
| 11 | 11 | ||
| 12 | target_include_directories(game PRIVATE | 12 | target_include_directories(swgame PRIVATE |
| 13 | ${SDL_DIR}/include | 13 | ${SDL_DIR}/include |
| 14 | include) | 14 | include) |
| 15 | 15 | ||
| 16 | target_link_libraries(game | 16 | target_link_libraries(swgame |
| 17 | SDL3-static | 17 | SDL3-static |
| 18 | filesystem | 18 | filesystem |
| 19 | math | 19 | math |
| 20 | stb | 20 | stb |
| 21 | swgfx) | 21 | swgfx) |
| 22 | 22 | ||
| 23 | target_compile_options(game PRIVATE -Wall -Wextra -Wno-missing-braces) | 23 | target_compile_options(swgame PRIVATE -Wall -Wextra -Wno-missing-braces) |
| 24 | 24 | ||
| 25 | # Tools. | 25 | # Tools. |
| 26 | 26 | ||
