qt5base-lts/tests/auto/tools/qmakelib/CMakeLists.txt
Giuseppe D'Angelo 9afb3506b3 tst_qmakelib: link to QtCore's private API
Just like it was done in the .pro file.

Pick-to: 6.0
Change-Id: I7def52127f4bab6f0ef490ac7eee2de2da479352
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2020-12-04 11:22:38 +01: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
PUBLIC_LIBRARIES
Qt::CorePrivate
)
## Scopes:
#####################################################################
qt_internal_extend_target(tst_qmakelib CONDITION WIN32
PUBLIC_LIBRARIES
advapi32
)