Files
DRAMSys/tests/tests_simulator/CMakeLists.txt
Derek Christ c3eb5e6a62 Hide the use of FetchContent behind a flag
FetchContent is now disabled by default, when the project is included as
an subproject by another top-level project.
Also, every usage of FetchContent is behind a separate flag to enable and
disable the usage with granular control.
2024-12-20 17:40:15 +01:00

23 lines
524 B
CMake

###############################################
### tests_simulator ###
###############################################
add_executable(tests_simulator
main.cpp
cache/tests_cache.cpp
cache/TargetMemory.cpp
cache/ListInitiator.cpp
)
set_target_properties(tests_simulator PROPERTIES FOLDER tests/simulator)
target_link_libraries(tests_simulator PRIVATE
simulator
gtest
gtest_main
)
gtest_discover_tests(tests_simulator
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
)