qt5base-lts/tests/auto/tools/qmakelib/CMakeLists.txt
Alexandru Croitor 4d22405e48 CMake: Don't use PUBLIC_LIBRARIES for tests and test helpers
Change-Id: I9b7404e1d3a78fe0726ec0f5ce1461f6c209e90d
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
2022-07-28 14:46:53 +02:00

38 lines
1.1 KiB
CMake

# Generated from qmakelib.pro.
#####################################################################
## tst_qmakelib Test:
#####################################################################
qt_internal_add_test(tst_qmakelib
SOURCES
../../../../qmake/library/ioutils.cpp
../../../../qmake/library/proitems.cpp
../../../../qmake/library/qmakebuiltins.cpp
../../../../qmake/library/qmakeevaluator.cpp
../../../../qmake/library/qmakeglobals.cpp
../../../../qmake/library/qmakeparser.cpp
../../../../qmake/library/qmakevfs.cpp
../../../../qmake/library/registry.cpp
evaltest.cpp
parsertest.cpp
tst_qmakelib.cpp tst_qmakelib.h
DEFINES
PROEVALUATOR_FULL
PROEVALUATOR_SETENV
PROPARSER_DEBUG
QT_USE_QSTRINGBUILDER
INCLUDE_DIRECTORIES
../../../../qmake/library
LIBRARIES
Qt::CorePrivate
)
## Scopes:
#####################################################################
qt_internal_extend_target(tst_qmakelib CONDITION WIN32
LIBRARIES
advapi32
)