qt5base-lts/tests/auto/tools/CMakeLists.txt
Mårten Nordheim 89e347ba42 Fix for getting windows running tests
By adding the path to the DLLs early on in the path. This fixes the
issue seen in CI (0xc0000135, DLL not found) and resolves local issues
where you might have forgotten to add this to path yourself potentially
grabbing libraries from elsewhere.

The ${path} seems to be a holdover that is no longer used, so it was
removed while the code was changed anyway.

Also disable WIN32_EXECUTABLE for all tests so that we can actually get
some output from them :)

Change-Id: Iec42c809c37be4f31c7f0a7af3a30c3528022dbe
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Reviewed-by: Qt CMake Build Bot
2019-09-17 17:11:59 +00:00

18 lines
388 B
CMake

# Generated from tools.pro.
add_subdirectory(qmakelib)
# special case begin
if(NOT WIN32) # @todo: this is broken, see QTBUG-78449
add_subdirectory(qmake)
endif()
# special case end
#add_subdirectory(moc)
#add_subdirectory(rcc)
if(TARGET Qt::Widgets)
add_subdirectory(uic)
endif()
if(TARGET Qt::DBus)
add_subdirectory(qdbuscpp2xml)
add_subdirectory(qdbusxml2cpp)
endif()