15 lines
342 B
Text
15 lines
342 B
Text
|
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)
|