File tree Expand file tree Collapse file tree 5 files changed +9
-10
lines changed
examples/hwLockCtrlService/test
test_support/cpputest-qpc-port Expand file tree Collapse file tree 5 files changed +9
-10
lines changed Original file line number Diff line number Diff line change @@ -9,12 +9,11 @@ add_compile_options(-Wall -Wextra -Werror)
99include_directories (include )
1010include (externals/qpcCMakeSupport.txt)
1111
12- set (TEST_SUPPORT_TOP_DIR ${CMAKE_CURRENT_SOURCE_DIR} /test_support)
13- set (MOCKS_TOP_DIR ${TEST_SUPPORT_TOP_DIR } /mocks)
12+ set (CMS_TEST_SUPPORT_TOP_DIR ${CMAKE_CURRENT_SOURCE_DIR} /test_support)
13+ set (MOCKS_TOP_DIR ${CMS_TEST_SUPPORT_TOP_DIR } /mocks)
1414set (EXTERNALS_TOP_DIR ${CMAKE_CURRENT_SOURCE_DIR} /externals)
15- set (QPC_TOP_DIR ${CMAKE_CURRENT_SOURCE_DIR} /externals/qpc)
1615set (DRIVERS_TOP_DIR ${CMAKE_CURRENT_SOURCE_DIR} /drivers)
17- set (UTILS_TOP_DIR ${CMAKE_CURRENT_SOURCE_DIR} /utilities)
16+ set (CMS_UTILS_TOP_DIR ${CMAKE_CURRENT_SOURCE_DIR} /utilities)
1817
1918add_subdirectory (utilities)
2019add_subdirectory (test_support)
Original file line number Diff line number Diff line change @@ -14,6 +14,6 @@ set(TEST_SOURCES
1414
1515# this include expects TEST_SOURCES and TEST_APP_NAME to be
1616# defined, and creates the cpputest based test executable target
17- include (${TEST_SUPPORT_TOP_DIR } /common/cpputestCMake.txt)
17+ include (${CMS_TEST_SUPPORT_TOP_DIR } /common/cpputestCMake.txt)
1818
1919target_link_libraries (${TEST_APP_NAME} cpputest-qpc-lib ${CPPUTEST_LDFLAGS} )
Original file line number Diff line number Diff line change 11
2- set (CPPUTEST_QP_PORT_TOP_DIR ${TEST_SUPPORT_TOP_DIR } /cpputest-qpc-port)
2+ set (CPPUTEST_QP_PORT_TOP_DIR ${CMS_TEST_SUPPORT_TOP_DIR } /cpputest-qpc-port)
33set (CPPUTEST_QP_PORT_SRC_DIR ${CPPUTEST_QP_PORT_TOP_DIR} /src)
44set (CPPUTEST_QP_PORT_SRC_FILES
55 ${CPPUTEST_QP_PORT_SRC_DIR} /cpputest_qf_port.cpp
@@ -11,14 +11,14 @@ set(CPPUTEST_QP_PORT_SRC_FILES
1111
1212include_directories (${QPC_SRC_DIR} )
1313include_directories (${CPPUTEST_QP_PORT_TOP_DIR} /include )
14- include_directories (${UTILS_TOP_DIR } /include )
14+ include_directories (${CMS_UTILS_TOP_DIR } /include )
1515
1616add_subdirectory (test )
1717add_library (cpputest-qpc-lib ${CPPUTEST_QP_PORT_SRC_FILES} ../common/cpputestMain.cpp)
1818target_include_directories (cpputest-qpc-lib PUBLIC
1919 ${QPC_INCLUDE_DIR}
2020 ${CPPUTEST_QP_PORT_TOP_DIR} /include
21- ${UTILS_TOP_DIR } /include )
21+ ${CMS_UTILS_TOP_DIR } /include )
2222
2323
2424
Original file line number Diff line number Diff line change @@ -9,6 +9,6 @@ set(TEST_SOURCES
99
1010# this include expects TEST_SOURCES and TEST_APP_NAME to be
1111# defined, and creates the cpputest based test executable target
12- include (${TEST_SUPPORT_TOP_DIR } /common/cpputestCMake.txt)
12+ include (${CMS_TEST_SUPPORT_TOP_DIR } /common/cpputestCMake.txt)
1313
1414target_link_libraries (${TEST_APP_NAME} cpputest-qpc-lib ${CPPUTEST_LDFLAGS} )
Original file line number Diff line number Diff line change @@ -8,6 +8,6 @@ set(TEST_SOURCES
88
99# this include expects TEST_SOURCES and TEST_APP_NAME to be
1010# defined, and creates the cpputest based test executable target
11- include (${TEST_SUPPORT_TOP_DIR } /common/cpputestCMake.txt)
11+ include (${CMS_TEST_SUPPORT_TOP_DIR } /common/cpputestCMake.txt)
1212
1313target_link_libraries (${TEST_APP_NAME} cpputest-qpc-lib ${CPPUTEST_LDFLAGS} )
You can’t perform that action at this time.
0 commit comments