File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -40,11 +40,16 @@ list( APPEND CMAKE_INSTALL_RPATH ${CMAKE_INSTALL_PREFIX}/lib )
4040#
4141if (NOT LAUNCHER_ONLY)
4242
43- ## Setup Dependencies
44- include (dependencies.cmake )
43+ # Enable CMake's CTest Functionality
44+ #
45+ include (CTest )
4546
46- ## Compile Shaders
47+ # Setup Dependencies
48+ #
49+ include (dependencies.cmake )
4750
51+ # Compile Shaders
52+ #
4853 add_subdirectory (Resources )
4954
5055 # Core engine lib is here
Original file line number Diff line number Diff line change @@ -17,3 +17,8 @@ set_target_properties(ZEngineTests PROPERTIES INSTALL_RPATH ${CMAKE_INSTALL_PREF
1717
1818install (TARGETS ZEngineTests
1919 RUNTIME DESTINATION tests)
20+
21+ if (BUILD_TESTING)
22+ include (GoogleTest )
23+ gtest_discover_tests (ZEngineTests )
24+ endif ()
Original file line number Diff line number Diff line change @@ -4,7 +4,8 @@ FetchContent_Declare(
44 fmt
55 GIT_REPOSITORY https://github.com/fmtlib/fmt.git
66 GIT_SHALLOW TRUE
7- )
7+ GIT_TAG main
8+ )
89
910FetchContent_Declare (
1011 imgui
You can’t perform that action at this time.
0 commit comments