Skip to content

Commit 340b6bb

Browse files
committed
7.3.4
updated QV, QK for MSP430 removed the unsupported esp-idf port Cmake support
1 parent fcea994 commit 340b6bb

29 files changed

+137
-1325
lines changed

CMakeLists.txt

+11-22
Original file line numberDiff line numberDiff line change
@@ -132,36 +132,25 @@ add_subdirectory(src)
132132
add_subdirectory(ports)
133133

134134
# set general defines
135-
target_compile_definitions(qpc
136-
PRIVATE
137-
$<$<BOOL:${ADD_DEBUG_CODE}>:${ADD_DEBUG_CODE}>
138-
$<$<BOOL:${QPC_CFG_GUI}>:QWIN_GUI>
139-
$<$<CONFIG:Spy>:Q_SPY>
140-
$<$<AND:$<CONFIG:Spy>,$<BOOL:${QPC_CFG_UNIT_TEST}>>:Q_UTEST>
135+
target_compile_definitions(qpc PRIVATE
136+
$<$<BOOL:${ADD_DEBUG_CODE}>:${ADD_DEBUG_CODE}>
137+
$<$<BOOL:${QPC_CFG_GUI}>:QWIN_GUI>
138+
# $<$<CONFIG:Spy>:Q_SPY> # set via toolchain file
139+
$<$<AND:$<CONFIG:Spy>,$<BOOL:${QPC_CFG_UNIT_TEST}>>:Q_UTEST>
141140
)
142141

143-
target_compile_options(qpc
144-
PRIVATE
145-
$<$<BOOL:${QPC_CFG_VERBOSE}>:-v>
142+
target_compile_options(qpc PRIVATE
143+
$<$<BOOL:${QPC_CFG_VERBOSE}>:-v>
146144
)
147145

148-
target_link_options(qpc
149-
PRIVATE
150-
$<$<BOOL:${QPC_CFG_VERBOSE}>:-v>
146+
target_link_options(qpc PRIVATE
147+
$<$<BOOL:${QPC_CFG_VERBOSE}>:-v>
151148
)
152149

153-
target_link_libraries(qpc
154-
PUBLIC
155-
$<$<AND:$<CONFIG:Spy>,$<STREQUAL:win32,${PORT}>>:ws2_32>
150+
target_link_libraries(qpc PUBLIC
151+
$<$<AND:$<CONFIG:Spy>,$<STREQUAL:win32,${PORT}>>:ws2_32>
156152
)
157153

158-
# set position independent code compile/link parameters
159-
if(${CMAKE_VERSION} VERSION_GREATER_EQUAL "3.14")
160-
include(CheckPIESupported)
161-
check_pie_supported()
162-
endif()
163-
set_property(TARGET qpc PROPERTY POSITION_INDEPENDENT_CODE FALSE)
164-
165154
# print configuration
166155
message(STATUS
167156
"========================================================

ports/CMakeLists.txt

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# CMake the qpc libraries for different targets
2-
# target may be "Windows", "Posix", "TLE984x"
32
set(PORT_DIR ${PORT})
43
if((PORT STREQUAL win32) OR (PORT STREQUAL posix))
54
if(QPC_CFG_UNIT_TEST)

ports/arm-cm/CMakeLists.txt

-3
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,5 @@ else()
1515
target_include_directories(qpc PUBLIC ${KERNEL}/${_compiler_})
1616
endif()
1717

18-
if(EXISTS ${KERNEL}/config)
19-
target_include_directories(qpc PRIVATE ${KERNEL}/config)
20-
endif()
2118
target_sources(qpc PRIVATE ${KERNEL}/${_compiler_}/${qx_port_c})
2219

ports/arm-cr/CMakeLists.txt

+1-2
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,4 @@ if(NOT KERNEL MATCHES "q[vk]")
1111
message(WARNING "Kernel ${KERNEL} is not supported! Falling back to QV kernel")
1212
set(KERNEL qv)
1313
endif()
14-
target_include_directories(qpc PUBLIC ${KERNEL}/${_compiler_} ${KERNEL}/config)
15-
14+
target_include_directories(qpc PUBLIC ${KERNEL}/${_compiler_})

ports/esp-idf/CMakeLists.txt

-3
This file was deleted.

ports/esp-idf/README.md

-29
This file was deleted.

0 commit comments

Comments
 (0)