-
Notifications
You must be signed in to change notification settings - Fork 58
/
Copy pathCMakeLists.txt
29 lines (25 loc) · 977 Bytes
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
target_include_directories(libocpp_unit_tests PUBLIC
mocks
${CMAKE_CURRENT_SOURCE_DIR})
target_sources(libocpp_unit_tests PRIVATE
device_model_test_helper.cpp
smart_charging_test_utils.cpp
test_charge_point.cpp
test_database_handler.cpp
test_database_migration_files.cpp
test_device_model_storage_sqlite.cpp
test_notify_report_requests_splitter.cpp
test_ocsp_updater.cpp
test_component_state_manager.cpp
test_database_handler.cpp
test_device_model.cpp
test_init_device_model_db.cpp
comparators.cpp
test_message_queue.cpp
test_composite_schedule.cpp
test_profile.cpp
)
# Copy the json files used for testing to the destination directory
file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/json DESTINATION ${TEST_PROFILES_LOCATION_V201})
set(LIBOCPP_TESTS_V201_ROOT_DIR ${CMAKE_CURRENT_SOURCE_DIR})
add_subdirectory(functional_blocks)