mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 13:13:50 +08:00
9ccd693f1b
* [toolchain windows] set CMAKE_SYSTEM_NAME and CMAKE_SYSTEM_PROCESSOR In specific, I did this for the cpuinfo PR - I realized the reason that cpuinfo doesn't support arm64 windows cross compilation is because we don't set CMAKE_SYSTEM_PROCESSOR. * correctly set CMAKE_CROSSCOMPILING * start fixin libraries * more changes: - gainput: remove line - glog: remove try_run when cross compiling - windows.cmake: set CMAKE_SYSTEM_VERSION * more patches - mapnik: set BOOST_REGEX_HAS_ICU to avoid check_cxx_source_runs - orc: set HAS_PRE_1970 and HAS_POST_2038 for same - seal: change out check_cxx_source_runs for check_cxx_source_compiles * more changes * fix x86-windows * fix qpid-proton, glog * build corrade-rc * fix x64-uwp ports * forgot to _actually_ always build corrade-rc .,. * Replay #22831 * Dedupe CMAKE_SYSTEM_NAME settings. * Add quotes for corrade_rc_param Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com> * Update version DB. Co-authored-by: nicole mazzuca <mazzucan@outlook.com> Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com> Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
31 lines
1.0 KiB
Diff
31 lines
1.0 KiB
Diff
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -139,12 +139,13 @@
|
|
# Tests
|
|
|
|
set(tests_executable "${PROJECT_NAME}-tests")
|
|
set(tests_run_target "${PROJECT_NAME}-run-tests")
|
|
set(tests_run_file "${PROJECT_BINARY_DIR}/${tests_run_target}.done")
|
|
|
|
+if(0)
|
|
enable_testing()
|
|
add_executable("${tests_executable}" ${test_files})
|
|
target_compile_options("${tests_executable}" PRIVATE ${compile_options})
|
|
target_link_libraries("${tests_executable}" "${PROJECT_NAME}")
|
|
add_test(NAME "${tests_executable}" COMMAND "${tests_executable}")
|
|
|
|
@@ -166,12 +167,13 @@
|
|
COMMAND "${CMAKE_COMMAND}"
|
|
ARGS -E touch "${tests_run_file}"
|
|
WORKING_DIRECTORY "${PROJECT_BINARY_DIR}"
|
|
VERBATIM)
|
|
add_custom_target("${tests_run_target}" ALL DEPENDS "${tests_run_file}" VERBATIM)
|
|
endif()
|
|
+endif()
|
|
|
|
# Generate Arduino package
|
|
|
|
set(arduino_package_file "${PROJECT_BINARY_DIR}/hydrogen-crypto.zip")
|
|
|
|
# Use the relative versions of the file path lists or else the full paths will end up in the
|