qpc/zephyr/CMakeLists.txt
MMS e032055963 7.1.3
7.1.3

Replaced QF_EVT_REF_CTR_INC_() with QEvt_refCtr_inc_() in ports
- embOS
- ESP-IDF
- Qt

7.1.3

7.1.3

7.1.3

7.1.3

7.1.3

7.1.3

7.1.2

first commit after fixing history

Revert "7.1.2"

This reverts commit 90cf4e1471b5e9c0853af97af8ec0bc67c7e19c6.

7.1.2

first commit after fixing the history

7.0.1
2023-02-18 09:17:17 -05:00

53 lines
1019 B
CMake

# QPC Zephyr module
# SPDX-License-Identifier: GPL-3.0-or-later OR LicenseRef-QL-commercial
zephyr_library_named(qpc)
if(CONFIG_QPC)
set(QPC_DIR ..)
zephyr_include_directories(
${QPC_DIR}/include
${QPC_DIR}/zephyr
)
target_include_directories(app PUBLIC
${QPC_DIR}/include
${QPC_DIR}/zephyr
)
zephyr_library_sources(
${QPC_DIR}/src/qf/qep_hsm.c
${QPC_DIR}/src/qf/qep_msm.c
${QPC_DIR}/src/qf/qf_qact.c
${QPC_DIR}/src/qf/qf_defer.c
${QPC_DIR}/src/qf/qf_dyn.c
${QPC_DIR}/src/qf/qf_mem.c
${QPC_DIR}/src/qf/qf_ps.c
${QPC_DIR}/src/qf/qf_qact.c
${QPC_DIR}/src/qf/qf_qeq.c
${QPC_DIR}/src/qf/qf_qmact.c
${QPC_DIR}/src/qf/qf_time.c
${QPC_DIR}/zephyr/qf_port.c
)
# QSPY option...
if(QSPY)
target_compile_definitions(app PUBLIC Q_SPY)
zephyr_library_compile_definitions(Q_SPY)
zephyr_library_sources(
${QPC_DIR}/src/qs/qs.c
${QPC_DIR}/src/qs/qs_rx.c
${QPC_DIR}/src/qs/qs_fp.c
${QPC_DIR}/src/qs/qutest.c
${QPC_DIR}/src/qs/qs_64bit.c
${QPC_DIR}/include/qstamp.c
)
endif() # QSPY
endif() # CONFIG_QPC