File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -14,15 +14,15 @@ list(APPEND TEST_SOURCES
1414 test_dbc.cpp
1515 test_utils.cpp)
1616
17- add_executable (tests ${TEST_SOURCES} )
18- target_compile_definitions (tests PRIVATE TESTDBCFILES_PATH="${CMAKE_CURRENT_SOURCE_DIR} /dbcs" )
19- target_link_libraries (tests PRIVATE dbc Catch2::Catch2WithMain)
17+ add_executable (dbcParserTests ${TEST_SOURCES} )
18+ target_compile_definitions (dbcParserTests PRIVATE TESTDBCFILES_PATH="${CMAKE_CURRENT_SOURCE_DIR} /dbcs" )
19+ target_link_libraries (dbcParserTests PRIVATE dbc Catch2::Catch2WithMain)
2020if (${CMAKE_MINOR_VERSION} GREATER_EQUAL 23)
21- target_sources (tests PRIVATE FILE_SET HEADERS
21+ target_sources (dbcParserTests PRIVATE FILE_SET HEADERS
2222 TYPE HEADERS
2323 BASE_DIRS ${CMAKE_CURRENT_SOURCE_DIR}
2424 FILES defines.hpp)
2525else ()
26- target_include_directories (tests PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} )
26+ target_include_directories (dbcParserTests PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} )
2727endif ()
28- catch_discover_tests(tests )
28+ catch_discover_tests(dbcParserTests )
You can’t perform that action at this time.
0 commit comments