summaryrefslogtreecommitdiff
path: root/test/smp/cmake
diff options
context:
space:
mode:
authorFrédéric Desbiens <[email protected]>2026-03-06 19:27:49 +0100
committerGitHub <[email protected]>2026-03-06 19:27:49 +0100
commit3726d7906b4808bfec7855fc088e073199df9120 (patch)
tree8789bfd03d1d49e1967e80d04aa4ff606fda43eb /test/smp/cmake
parent4b6e8100d932a3a67b34c6eb17f84f3bffb9e2ae (diff)
parentc3259a216026372e3833dd8996a68f77e8595fbd (diff)
Merge pull request #510 from eclipse-threadx/devv6.5.0.202601_rel
Merge changes ahead of the v6.5.0.202601 release
Diffstat (limited to 'test/smp/cmake')
-rw-r--r--test/smp/cmake/threadx_smp/CMakeLists.txt8
-rw-r--r--test/smp/cmake/threadx_smp/common_smp/CMakeLists.txt4
2 files changed, 6 insertions, 6 deletions
diff --git a/test/smp/cmake/threadx_smp/CMakeLists.txt b/test/smp/cmake/threadx_smp/CMakeLists.txt
index d142d790..f6596253 100644
--- a/test/smp/cmake/threadx_smp/CMakeLists.txt
+++ b/test/smp/cmake/threadx_smp/CMakeLists.txt
@@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.13 FATAL_ERROR)
# Set up the project
project(threadx_smp
- VERSION 6.0.0
+ VERSION 6.0.0
LANGUAGES C ASM
)
@@ -37,10 +37,10 @@ if (NOT TX_USER_FILE)
set(TX_USER_FILE ${PROJECT_DIR}/common_smp/inc/tx_user_sample.h)
else()
message(STATUS "Using custom tx_user.h file from ${TX_USER_FILE}")
-endif()
+endif()
configure_file(${TX_USER_FILE} ${CUSTOM_INC_DIR}/tx_user.h COPYONLY)
-target_include_directories(${PROJECT_NAME}
- PUBLIC
+target_include_directories(${PROJECT_NAME}
+ PUBLIC
${CUSTOM_INC_DIR}
)
target_compile_definitions(${PROJECT_NAME} PUBLIC "TX_INCLUDE_USER_DEFINE_FILE" )
diff --git a/test/smp/cmake/threadx_smp/common_smp/CMakeLists.txt b/test/smp/cmake/threadx_smp/common_smp/CMakeLists.txt
index f7e35fde..646b200b 100644
--- a/test/smp/cmake/threadx_smp/common_smp/CMakeLists.txt
+++ b/test/smp/cmake/threadx_smp/common_smp/CMakeLists.txt
@@ -213,8 +213,8 @@ target_sources(${PROJECT_NAME}
)
# Add the Common/inc directory to the project include list
-target_include_directories(${PROJECT_NAME}
- PUBLIC
+target_include_directories(${PROJECT_NAME}
+ PUBLIC
${CURRENT_DIR}/inc
)