diff --git a/ci/cmake-preloads/config-windows.txt b/ci/cmake-preloads/config-windows.txt index 470c2e565..5f8f25a12 100644 --- a/ci/cmake-preloads/config-windows.txt +++ b/ci/cmake-preloads/config-windows.txt @@ -1,10 +1,16 @@ message("PRELOADING windows cache") +set (CMAKE_WINDOWS_VERSION "WIN7" CACHE STRING "windows build version") +set (MSVC_RUNTIME "static" CACHE STRING "link MSVC runtime static") +set (BUILD_SHARED_LIBS OFF CACHE BOOL "build static linked executable") +set (CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded" CACHE STRING "MSVC runtime to use") +set (OPENSSL_USE_STATIC_LIBS ON CACHE BOOL "link OpenSSL static") set (CMAKE_BUILD_TYPE "Debug" CACHE STRING "build type") set (WITH_SERVER ON CACHE BOOL "build with server") set (WITH_SAMPLE ON CACHE BOOL "build with sample") +set (WITH_SHADOW OFF CACHE BOOL "Do not build shadow server") +set (WITH_PLATFORM_SERVER OFF CACHE BOOL "Do not build platform server") set (WITH_CLIENT_SDL ON CACHE BOOL "build with SDL client") set (WITH_PROXY_MODULES "OFF" CACHE BOOL "Do not build proxy modules") set (CHANNEL_URBDRC OFF CACHE BOOL "USB redirection") set (BUILD_TESTING ON CACHE BOOL "build testing") -set (WITH_SANITIZE_ADDRESS ON) set (WITH_FREERDP_DEPRECATED_COMMANDLINE ON CACHE BOOL "Enable deprecated command line options") diff --git a/packaging/windows/preload.cmake b/packaging/windows/preload.cmake new file mode 100644 index 000000000..e6bdf5a5e --- /dev/null +++ b/packaging/windows/preload.cmake @@ -0,0 +1,12 @@ +message("PRELOADING windows cache") +set (CMAKE_WINDOWS_VERSION "WIN7" CACHE STRING "windows build version") +set (BUILD_SHARED_LIBS OFF CACHE BOOL "build static linked executable") +set (MSVC_RUNTIME "static" CACHE STRING "link MSVC runtime static") +set (CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded" CACHE STRING "MSVC runtime to use") +set (OPENSSL_USE_STATIC_LIBS ON CACHE BOOL "link OpenSSL static") +set (CHANNEL_URBDRC OFF CACHE BOOL "we do not build libusb support") +set (WITH_CLIENT_SDL ON CACHE BOOL "build with SDL client") +set (WITH_SERVER ON CACHE BOOL "Build with server support") +set (WITH_SHADOW OFF CACHE BOOL "Do not build shadow server") +set (WITH_PROXY ON CACHE BOOL "Build proxy server") +set (WITH_PLATFORM_SERVER OFF CACHE BOOL "Do not build platform server")