This commit is contained in:
2020-06-22 15:08:33 +02:00
parent 4fc14ab35f
commit c85906be64
2 changed files with 3 additions and 1 deletions

2
.gitignore vendored
View File

@ -65,3 +65,5 @@ compile_commands.json
CTestTestfile.cmake
_deps
# other stuff
update_subtree.sh

View File

@ -1,7 +1,7 @@
project(minecraft-clone C)
cmake_minimum_required(VERSION 3.9)
set( CMAKE_EXPORT_COMPILE_COMMANDS ON )
include_directories(lib/glad/include)
include_directories(lib/glad/include lib/advanced_C_standard_liberary/include)
file(GLOB SOURCES "src/*.c" "lib/*/src/*.c")
find_program(CCACHE_PROGRAM ccache)
add_executable(test.out ${SOURCES})