mirror of
https://github.com/allemangD/toddcox-visualize.git
synced 2025-11-10 03:52:48 -05:00
embed shaders in binary
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
cmake_minimum_required(VERSION 3.21)
|
||||
project(toddcox-visualize)
|
||||
|
||||
set(CMAKE_CXX_STANDARD 17)
|
||||
set(CMAKE_CXX_STANDARD 20)
|
||||
|
||||
include(FetchContent)
|
||||
|
||||
@@ -14,33 +14,8 @@ include(External/imgui.cmake)
|
||||
include(External/json.cmake)
|
||||
include(External/peglib.cmake)
|
||||
|
||||
#include_directories(include)
|
||||
include(embed.cmake)
|
||||
|
||||
enable_testing()
|
||||
add_subdirectory(tc)
|
||||
add_subdirectory(vis)
|
||||
|
||||
#add_custom_target(resources DEPENDS resources_output)
|
||||
#add_custom_command(
|
||||
# OUTPUT resources_output
|
||||
# COMMAND ${CMAKE_COMMAND} -E copy_directory ${CMAKE_CURRENT_SOURCE_DIR}/res ${CMAKE_CURRENT_BINARY_DIR}/res
|
||||
# COMMENT "Copying Resources")
|
||||
#
|
||||
#add_executable(vis
|
||||
# src/main.cpp
|
||||
# src/gl/debug.hpp
|
||||
# src/gl/shader.hpp
|
||||
# src/gl/buffer.hpp
|
||||
# src/gl/vertexarray.hpp
|
||||
# src/gl/types.hpp)
|
||||
#target_link_libraries(vis glfw glad imgui eigen nlohmann_json)
|
||||
#add_dependencies(vis resources)
|
||||
|
||||
#add_executable(serial src/serialtest.cpp)
|
||||
#target_link_libraries(serial eigen nlohmann_json)
|
||||
|
||||
#add_executable(combotest src/combotest.cpp)
|
||||
#target_link_libraries(combotest eigen tc)
|
||||
|
||||
#add_executable(geometrytest src/geometrytest.cpp)
|
||||
#target_link_libraries(geometrytest eigen tc nlohmann_json)
|
||||
|
||||
Reference in New Issue
Block a user