Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,16 @@ list( APPEND CMAKE_INSTALL_RPATH ${CMAKE_INSTALL_PREFIX}/lib )
#
if (NOT LAUNCHER_ONLY)

## Setup Dependencies
include(dependencies.cmake)
# Enable CMake's CTest Functionality
#
include(CTest)

## Compile Shaders
# Setup Dependencies
#
include(dependencies.cmake)

# Compile Shaders
#
add_subdirectory (Resources)

# Core engine lib is here
Expand Down
5 changes: 5 additions & 0 deletions ZEngine/tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,8 @@ set_target_properties(ZEngineTests PROPERTIES INSTALL_RPATH ${CMAKE_INSTALL_PREF

install(TARGETS ZEngineTests
RUNTIME DESTINATION tests)

if(BUILD_TESTING)
include(GoogleTest)
gtest_discover_tests(ZEngineTests)
endif()
1 change: 1 addition & 0 deletions dependencies.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ FetchContent_Declare(
fmt
GIT_REPOSITORY https://github.com/fmtlib/fmt.git
GIT_SHALLOW TRUE
GIT_TAG main
)

FetchContent_Declare(
Expand Down
Loading