mirror of
https://github.com/allemangD/toddcox-visualize.git
synced 2025-11-10 03:52:48 -05:00
yaml-cpp submodule
This commit is contained in:
3
.gitmodules
vendored
3
.gitmodules
vendored
@@ -7,3 +7,6 @@
|
||||
[submodule "vendor/toddcox"]
|
||||
path = vendor/toddcox
|
||||
url = https://github.com/JCRaymond/toddcox-faster.git
|
||||
[submodule "vendor/yaml-cpp"]
|
||||
path = vendor/yaml-cpp
|
||||
url = git://github.com/jbeder/yaml-cpp.git
|
||||
|
||||
@@ -4,6 +4,8 @@ project(toddcox-faster)
|
||||
set(CMAKE_CXX_STANDARD 17)
|
||||
|
||||
add_subdirectory(vendor/toddcox)
|
||||
|
||||
add_subdirectory(vendor/yaml-cpp)
|
||||
add_subdirectory(vendor/glad)
|
||||
add_subdirectory(vendor/glfw)
|
||||
add_subdirectory(vendor/glm)
|
||||
|
||||
1
vendor/yaml-cpp
vendored
Submodule
1
vendor/yaml-cpp
vendored
Submodule
Submodule vendor/yaml-cpp added at 4edff1fa5d
@@ -12,8 +12,6 @@ add_custom_command(
|
||||
COMMENT "copied preses"
|
||||
)
|
||||
|
||||
find_package(yaml-cpp REQUIRED)
|
||||
|
||||
add_library(vis-util INTERFACE)
|
||||
target_include_directories(vis-util INTERFACE include)
|
||||
|
||||
|
||||
@@ -343,6 +343,10 @@ int main(int argc, char *argv[]) {
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
|
||||
glfwWindowHint(GLFW_VERSION_MAJOR, 4);
|
||||
glfwWindowHint(GLFW_VERSION_MAJOR, 5);
|
||||
// glfwWindowHint(GLFW_OPENGL_PROFILE, GLFW_OPENGL_CORE_PROFILE);
|
||||
|
||||
auto window = glfwCreateWindow(
|
||||
1920, 1080,
|
||||
"Coset Visualization",
|
||||
@@ -360,6 +364,8 @@ int main(int argc, char *argv[]) {
|
||||
glClear(GL_COLOR_BUFFER_BIT);
|
||||
glfwSwapBuffers(window);
|
||||
|
||||
std::cout << utilInfo();
|
||||
|
||||
std::string config_file = "presets/default.yaml";
|
||||
if (argc > 1) config_file = std::string(argv[1]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user