File tree Expand file tree Collapse file tree 3 files changed +20
-5
lines changed
Expand file tree Collapse file tree 3 files changed +20
-5
lines changed Original file line number Diff line number Diff line change 2525 "OMATH_BUILD_VIA_VCPKG" : " ON" ,
2626 "CMAKE_TOOLCHAIN_FILE" : " $env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake" ,
2727 "VCPKG_INSTALLED_DIR" : " ${sourceDir}/cmake-build/vcpkg_installed" ,
28- "VCPKG_MANIFEST_FEATURES" : " tests;imgui;avx2"
28+ "VCPKG_MANIFEST_FEATURES" : " tests;imgui;avx2;examples "
2929 }
3030 },
3131 {
Original file line number Diff line number Diff line change 11project (examples)
22
33add_executable (example_projection_matrix_builder example_proj_mat_builder.cpp)
4- set_target_properties (example_projection_matrix_builder PROPERTIES CXX_STANDARD 26)
4+ set_target_properties (example_projection_matrix_builder PROPERTIES
5+ CXX_STANDARD 26
6+ ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_SOURCE_DIR} /out/${CMAKE_BUILD_TYPE} "
7+ LIBRARY_OUTPUT_DIRECTORY "${CMAKE_SOURCE_DIR} /out/${CMAKE_BUILD_TYPE} "
8+ RUNTIME_OUTPUT_DIRECTORY "${CMAKE_SOURCE_DIR} /out/${CMAKE_BUILD_TYPE} "
9+ )
510target_link_libraries (example_projection_matrix_builder PRIVATE omath::omath)
611
712add_executable (example_signature_scan example_signature_scan.cpp)
8- set_target_properties (example_signature_scan PROPERTIES CXX_STANDARD 26)
13+ set_target_properties (example_signature_scan PROPERTIES
14+ CXX_STANDARD 26
15+ ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_SOURCE_DIR} /out/${CMAKE_BUILD_TYPE} "
16+ LIBRARY_OUTPUT_DIRECTORY "${CMAKE_SOURCE_DIR} /out/${CMAKE_BUILD_TYPE} "
17+ RUNTIME_OUTPUT_DIRECTORY "${CMAKE_SOURCE_DIR} /out/${CMAKE_BUILD_TYPE} "
18+ )
919target_link_libraries (example_signature_scan PRIVATE omath::omath)
1020
1121
1222add_executable (example_glfw3 example_glfw3.cpp)
13- set_target_properties (example_glfw3 PROPERTIES CXX_STANDARD 26)
23+ set_target_properties (example_glfw3 PROPERTIES CXX_STANDARD 26
24+ ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_SOURCE_DIR} /out/${CMAKE_BUILD_TYPE} "
25+ LIBRARY_OUTPUT_DIRECTORY "${CMAKE_SOURCE_DIR} /out/${CMAKE_BUILD_TYPE} "
26+
27+ RUNTIME_OUTPUT_DIRECTORY "${CMAKE_SOURCE_DIR} /out/${CMAKE_BUILD_TYPE} "
28+ )
1429
1530find_package (GLEW REQUIRED)
1631find_package (glfw3 CONFIG REQUIRED)
Original file line number Diff line number Diff line change @@ -222,7 +222,7 @@ int main()
222222
223223 CubeMesh cube{std::move (vbo), std::move (ebo)};
224224 cube.set_origin ({0 .f , 0 .f , 0 .f });
225- cube.set_scale ({1 .f , 2 .f , 1 .f });
225+ cube.set_scale ({2 .f , 2 .f , 2 .f });
226226 cube.set_rotation (RotationAngles{});
227227
228228 // ---------- OpenGL buffers ----------
You can’t perform that action at this time.
0 commit comments