Fixes for edit boxes in wine.
This commit is contained in:
1 parent
c5657ee5d4
commit
39b7488aea
7 files changed
+112
-7
No files matched your search
@@ -42,6 +42,16 @@ target_link_options(cthulhu-wine-access PRIVATE -mwindows)
|
||||
target_compile_options(cthulhu-wine-access PRIVATE
|
||||
$<$<COMPILE_LANGUAGE:C,CXX>:-Wall -Wextra>)
|
||||
|
||||
include(CTest)
|
||||
if(BUILD_TESTING)
|
||||
add_executable(msaa-states-test tests/msaa_states_test.cpp)
|
||||
target_compile_features(msaa-states-test PRIVATE cxx_std_20)
|
||||
target_compile_options(msaa-states-test PRIVATE -Wall -Wextra)
|
||||
add_test(NAME msaa-states COMMAND "${CMAKE_CURRENT_BINARY_DIR}/msaa-states-test.exe")
|
||||
set_tests_properties(msaa-states PROPERTIES ENVIRONMENT
|
||||
"WINEPREFIX=${CMAKE_CURRENT_BINARY_DIR}/test-prefix;CTHULHU_WINE_ACCESS_MANAGED=1;WINEDEBUG=-all;WINEDLLOVERRIDES=mscoree,mshtml=")
|
||||
endif()
|
||||
|
||||
# Winegcc emits a launcher and a Winelib sidecar. CMake's normal target
|
||||
# installation looks for the Linux target name, so install both emitted
|
||||
# artifacts explicitly and keep them together for Wine to resolve.
|
||||
|
||||
Reference in new issue
Block a user