diff options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..e68bd8e --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,13 @@ +cmake_minimum_required(VERSION 3.16) +project(raylib_template C) + +set(CMAKE_C_STANDARD 99) + +# Setting parameters for raylib +set(BUILD_EXAMPLES OFF CACHE BOOL "" FORCE) # don't build the supplied examples +set(BUILD_GAMES OFF CACHE BOOL "" FORCE) # or games + +add_subdirectory(libs/raylib) + +add_executable(raylib_template src/main.c) +target_link_libraries(raylib_template PRIVATE raylib)
\ No newline at end of file |