Files
DRAMSys/tests/tests_simulator/CMakeLists.txt
Derek Christ ca9ef16d0d Remove unnecessary project() calls
project() should only be called if the subdirectory, in fact, can be
built standalone.
2024-12-20 17:40:15 +01:00

22 lines
514 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_main
)
gtest_discover_tests(tests_simulator
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
)