mirror of
https://github.com/reactos/CMake.git
synced 2024-11-27 05:20:34 +00:00
4929453504
689fdbfc61
Utilities/Release: Drop linux64 script in favor of docker build2d7cfd30ac
Utilities/Release: Drop source archive generation in scriptsfacc240a45
Utilities/Release: Add docker specs to build and test Linux binariesbf832ccf01
Utilities/Release: Add README.rst describing directory contentab153f17bf
Utilities/Release: Drop machine-specific READMEed294c1664
Add option to skip CMake tests that need network access4b8a864d52
Add option to test CMake itself against its hosting CMake Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Gregor Jasny <gjasny@googlemail.com> Merge-request: !3727
53 lines
2.0 KiB
CMake
53 lines
2.0 KiB
CMake
set(CMAKE_RELEASE_DIRECTORY "c:/msys64/home/dashboard/CMakeReleaseDirectory32")
|
|
set(CONFIGURE_WITH_CMAKE TRUE)
|
|
set(CMAKE_CONFIGURE_PATH "c:/Program\\ Files/CMake/bin/cmake.exe")
|
|
set(PROCESSORS 16)
|
|
set(HOST win32)
|
|
set(RUN_LAUNCHER ~/rel/run)
|
|
set(CPACK_BINARY_GENERATORS "WIX ZIP")
|
|
set(CPACK_SOURCE_GENERATORS "")
|
|
set(MAKE_PROGRAM "ninja")
|
|
set(MAKE "${MAKE_PROGRAM} -j16")
|
|
set(qt_prefix "c:/Qt/5.12.1/msvc2017-32-w7-mt")
|
|
set(qt_win_libs
|
|
${qt_prefix}/plugins/platforms/qwindows.lib
|
|
${qt_prefix}/plugins/styles/qwindowsvistastyle.lib
|
|
${qt_prefix}/lib/Qt5EventDispatcherSupport.lib
|
|
${qt_prefix}/lib/Qt5FontDatabaseSupport.lib
|
|
${qt_prefix}/lib/Qt5ThemeSupport.lib
|
|
${qt_prefix}/lib/qtfreetype.lib
|
|
${qt_prefix}/lib/qtlibpng.lib
|
|
imm32.lib
|
|
wtsapi32.lib
|
|
)
|
|
set(INITIAL_CACHE "CMAKE_BUILD_TYPE:STRING=Release
|
|
CMAKE_DOC_DIR:STRING=doc/cmake
|
|
CMAKE_USE_OPENSSL:BOOL=OFF
|
|
CMAKE_SKIP_BOOTSTRAP_TEST:STRING=TRUE
|
|
CMAKE_Fortran_COMPILER:FILEPATH=FALSE
|
|
CMAKE_GENERATOR:INTERNAL=Ninja
|
|
BUILD_QtDialog:BOOL=TRUE
|
|
CMake_GUI_DISTRIBUTE_WITH_Qt_LGPL:STRING=3
|
|
CMAKE_MSVC_RUNTIME_LIBRARY:STRING=MultiThreaded$<$<CONFIG:Debug>:Debug>
|
|
CMAKE_EXE_LINKER_FLAGS:STRING=-machine:x86 -subsystem:console,6.01
|
|
CMake_QT_STATIC_QWindowsIntegrationPlugin_LIBRARIES:STRING=${qt_win_libs}
|
|
CMAKE_PREFIX_PATH:STRING=${qt_prefix}
|
|
CMake_TEST_Qt4:BOOL=OFF
|
|
CMake_TEST_Qt5:BOOL=OFF
|
|
")
|
|
set(ppflags "-D_WIN32_WINNT=0x601 -DNTDDI_VERSION=0x06010000")
|
|
set(CFLAGS "${ppflags}")
|
|
set(CXXFLAGS "${ppflags}")
|
|
set(ENV ". ~/rel/env32")
|
|
get_filename_component(path "${CMAKE_CURRENT_LIST_FILE}" PATH)
|
|
set(GIT_EXTRA "git config core.autocrlf true")
|
|
if(CMAKE_CREATE_VERSION STREQUAL "nightly")
|
|
# Some tests fail spuriously too often.
|
|
set(EXTRA_CTEST_ARGS "-E 'ConsoleBuf|Module.ExternalData'")
|
|
set(SIGN "")
|
|
else()
|
|
string(APPEND INITIAL_CACHE "CMake_INSTALL_SIGNTOOL:STRING=signtool\n")
|
|
set(SIGN [[signtool sign -v -a -tr http://timestamp.digicert.com -fd sha256 -td sha256 -d "CMake Windows Installer" cmake-*.msi]])
|
|
endif()
|
|
include(${path}/release_cmake.cmake)
|