mirror of
https://github.com/allemangD/toddcox-visualize.git
synced 2025-11-10 12:02:47 -05:00
use program pipelines instead
This commit is contained in:
@@ -1,7 +1,3 @@
|
||||
add_executable(vis src/main.cpp)
|
||||
target_include_directories(vis PRIVATE include)
|
||||
target_link_libraries(vis PRIVATE tc glad glm glfw)
|
||||
|
||||
add_custom_target(shaders ALL DEPENDS shader_output)
|
||||
add_custom_command(
|
||||
OUTPUT shader_output
|
||||
@@ -9,7 +5,10 @@ add_custom_command(
|
||||
COMMENT "copied shaders"
|
||||
)
|
||||
|
||||
add_dependencies(vis shaders)
|
||||
|
||||
add_library(vis-util INTERFACE)
|
||||
target_include_directories(vis-util INTERFACE include)
|
||||
|
||||
add_executable(vis src/main.cpp)
|
||||
target_include_directories(vis PRIVATE include)
|
||||
target_link_libraries(vis PRIVATE tc glad glm glfw)
|
||||
add_dependencies(vis shaders)
|
||||
|
||||
Reference in New Issue
Block a user