stuff-from-scratch/plugins/circuits/test/CMakeLists.txt

9 lines
333 B
CMake
Raw Normal View History

2023-01-20 16:47:39 +00:00
set(PLUGIN_NAME circuits)
list(APPEND UNIT_TEST_FILES
TestElectronicCircuit.cpp
)
add_executable(${PLUGIN_NAME}_unit_tests ${CMAKE_SOURCE_DIR}/test/test_runner.cpp ${UNIT_TEST_FILES})
target_link_libraries(${PLUGIN_NAME}_unit_tests PUBLIC test_utils circuits)
set_property(TARGET ${PLUGIN_NAME}_unit_tests PROPERTY FOLDER plugins)