mirror of
https://github.com/allemangD/toddcox-visualize.git
synced 2025-11-10 12:02:47 -05:00
20 lines
524 B
CMake
20 lines
524 B
CMake
add_subdirectory(shaders)
|
|
|
|
add_custom_target(presets ALL DEPENDS preset_output)
|
|
add_custom_command(
|
|
OUTPUT preset_output
|
|
COMMAND ${CMAKE_COMMAND} -E copy_directory ${CMAKE_CURRENT_SOURCE_DIR}/presets ${CMAKE_CURRENT_BINARY_DIR}/presets
|
|
COMMENT "copied preses"
|
|
)
|
|
|
|
add_executable(vis
|
|
src/main.cpp
|
|
src/comps.hpp
|
|
)
|
|
target_include_directories(vis PRIVATE include)
|
|
target_link_libraries(vis PRIVATE
|
|
tc shaders
|
|
glad eigen glfw yaml-cpp fmt EnTT imgui
|
|
)
|
|
add_dependencies(vis presets)
|