Enable the qt backend test on windows

The ```configuration``` is required by the visual studio generator to determine
whether to use a Debug or a Release setup (or a user customized one). It's
required by whatever uses that generator rather then just the GUI code.

Add instructions for the Visual Studio Project File generator to the README
and enable the test on Windows.
This commit is contained in:
Schaich 2021-11-23 21:10:58 +09:00
parent 9e4ecb638f
commit 1c31c92fd4
2 changed files with 18 additions and 2 deletions

View file

@ -21,7 +21,7 @@ target_include_directories(${PROJECT_NAME} PUBLIC "${CMAKE_SOURCE_DIR}/backend")
target_link_libraries(${PROJECT_NAME} zint Qt${QT_VERSION_MAJOR}::Widgets Qt${QT_VERSION_MAJOR}::Gui)
if(ZINT_TEST AND NOT WIN32) # Fails with "Test not available without configuration" on Windows so skip
if(ZINT_TEST)
add_subdirectory(tests)
endif()