restructuring
This commit is contained in:
@ -1,8 +1,8 @@
|
||||
project(minecraft-clone C)
|
||||
cmake_minimum_required(VERSION 3.9)
|
||||
set( CMAKE_EXPORT_COMPILE_COMMANDS ON )
|
||||
include_directories(lib/include)
|
||||
file(GLOB SOURCES "src/*.c" "lib/src/*.c")
|
||||
include_directories(lib/glad/include)
|
||||
file(GLOB SOURCES "src/*.c" "lib/*/src/*.c")
|
||||
find_program(CCACHE_PROGRAM ccache)
|
||||
add_executable(test.out ${SOURCES})
|
||||
set_property(TARGET test.out PROPERTY C_STANDARD 11)
|
||||
|
||||
Reference in New Issue
Block a user