2021-12-20 04:31:44 +01:00
|
|
|
add_executable(visualizer
|
|
|
|
"main.cpp" "Application.cpp"
|
2021-12-21 14:35:36 +01:00
|
|
|
"backend/VertexArrayObject.cpp" "backend/Shader.cpp" "Cuboid.cpp" "backend/Drawable.cpp" "backend/Transformable.cpp")
|
2021-12-20 04:31:44 +01:00
|
|
|
|
2021-12-20 04:50:23 +01:00
|
|
|
target_sources(visualizer PUBLIC
|
|
|
|
${CMAKE_SOURCE_DIR}/vendor/glad/src/glad.c
|
|
|
|
)
|
|
|
|
|
2021-12-21 00:51:18 +01:00
|
|
|
target_include_directories(visualizer PRIVATE
|
2021-12-20 04:50:23 +01:00
|
|
|
${GLFW3_INCLUDE_DIRS}
|
2021-12-20 16:58:47 +01:00
|
|
|
${GLM_INCLUDE_DIRS}
|
2021-12-20 04:50:23 +01:00
|
|
|
${CMAKE_SOURCE_DIR}/vendor/glad/include
|
|
|
|
)
|
2021-12-20 04:31:44 +01:00
|
|
|
|
2021-12-21 00:51:18 +01:00
|
|
|
target_link_libraries(visualizer PRIVATE
|
|
|
|
${GLFW3_LIBRARIES}
|
|
|
|
${GLM_LIBRARIES}
|
|
|
|
)
|