-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSCT-Cpp.pro
More file actions
36 lines (28 loc) · 866 Bytes
/
Copy pathSCT-Cpp.pro
File metadata and controls
36 lines (28 loc) · 866 Bytes
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
30
31
32
33
34
35
36
#
# SPDX-License-Identifier: MIT
# SPDX-FileCopyrightText: Copyright (C) 2021-2026 Steffen A. Mork
#
TEMPLATE = subdirs
SUBDIRS = \
SctCppTimer \
SctQtTimer \
SctUnitTimer
SctCppTimer.file = SctCppTimer/SctCppTimer.pro
SctQtTimer.file = SctCppTimer/SctQtTimer.pro
SctUnitTimer.file = SctCppTimer/SctUnitTimer.pro
SctQtTimer.depends = SctCppTimer
SctUnitTimer.depends = SctQtTimer
QMAKE_CLEAN += cppcheck.xml
QMAKE_CLEAN += gtest-results.xml
#####################################################################
#
# Extra targets.
#
#####################################################################
QMAKE_EXTRA_TARGETS += astyle cppcheck
astyle.commands = astyle */*.cpp */*.h
cppcheck.commands = cppcheck \
--suppress=preprocessorErrorDirective\
--language=c++ --std=c++20 \
--xml-version=2 --force -q -j 3 \
*/*.cpp */*.h 2>cppcheck.xml