15 lines
No EOL
342 B
CMake
15 lines
No EOL
342 B
CMake
project(shaderboy)
|
|
|
|
set(CMAKE_CXX_STANDARD 14)
|
|
|
|
add_definitions(-DGLFW_INCLUDE_NONE) #stop glfw from including the damn gl header
|
|
|
|
set(SOURCE_FILES
|
|
glad.c
|
|
main.cpp
|
|
imgui.cpp
|
|
imgui_draw.cpp
|
|
imgui_impl_glfw_gl3.cpp)
|
|
add_executable(shaderboy ${SOURCE_FILES})
|
|
|
|
target_link_libraries(shaderboy glfw dl curl) |