wpilibsuite / allwpilib

Official Repository of WPILibJ and WPILibC
https://wpilib.org/
Other
1.05k stars 612 forks source link

Installation with WITH_FLAT_INSTALL enabled fails #5514

Closed autoantwort closed 1 year ago

autoantwort commented 1 year ago

Describe the bug When I try to install the project on windows it fails to install

To Reproduce Steps to reproduce the behavior:

  1. Checkout https://github.com/microsoft/vcpkg/pull/32461
  2. ./vcpkg install wpilib

Package: wpilib:x64-windows -> 2023-08-05

Host Environment

Failure logs

Failure logs ``` [1/2] "C:/Users/LeanderSchulten/git_projects/vcpkg/downloads/tools/cmake-3.25.1-windows/cmake-3.25.1-windows-i386/bin/cmake.exe" -E chdir ".." "C:/Users/LeanderSchulten/git_projects/vcpkg/downloads/tools/cmake-3.25.1-windows/cmake-3.25.1-windows-i386/bin/cmake.exe" "C:/Users/LeanderSchulten/git_projects/vcpkg/buildtrees/wpilib/src/4f547bd2c6-e358961f33.clean" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Release" "-DCMAKE_INSTALL_PREFIX=C:/Users/LeanderSchulten/git_projects/vcpkg/packages/wpilib_x64-windows" "-DFETCHCONTENT_FULLY_DISCONNECTED=ON" "-DWITH_CSCORE=OFF" "-DWITH_SIMULATION_MODULES=OFF" "-DWITH_WPILIB=OFF" "-DPKG_CONFIG_EXECUTABLE=C:/Users/LeanderSchulten/git_projects/vcpkg/downloads/tools/msys2/6f3fa1a12ef85a6f/mingw32/bin/pkg-config.exe" "-DWITH_JAVA=OFF" "-DWITH_EXAMPLES=OFF" "-DWITH_TESTS=OFF" "-DWITH_GUI=OFF" "-DWITH_SIMULATION_MODULES=OFF" "-DUSE_SYSTEM_FMTLIB=ON" "-DUSE_SYSTEM_LIBUV=ON" "-DUSE_SYSTEM_EIGEN=ON" "-DCMAKE_MAKE_PROGRAM=C:/Users/LeanderSchulten/git_projects/vcpkg/downloads/tools/ninja/1.10.2-windows/ninja.exe" "-DBUILD_SHARED_LIBS=ON" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=C:/Users/LeanderSchulten/git_projects/vcpkg/scripts/toolchains/windows.cmake" "-DVCPKG_TARGET_TRIPLET=x64-windows" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=v143" "-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON" "-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DVCPKG_APPLOCAL_DEPS=OFF" "-DCMAKE_TOOLCHAIN_FILE=C:/Users/LeanderSchulten/git_projects/vcpkg/scripts/buildsystems/vcpkg.cmake" "-DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON" "-DVCPKG_CXX_FLAGS=" "-DVCPKG_CXX_FLAGS_RELEASE=" "-DVCPKG_CXX_FLAGS_DEBUG=" "-DVCPKG_C_FLAGS=" "-DVCPKG_C_FLAGS_RELEASE=" "-DVCPKG_C_FLAGS_DEBUG=" "-DVCPKG_CRT_LINKAGE=dynamic" "-DVCPKG_LINKER_FLAGS=" "-DVCPKG_LINKER_FLAGS_RELEASE=" "-DVCPKG_LINKER_FLAGS_DEBUG=" "-DVCPKG_TARGET_ARCHITECTURE=x64" "-DCMAKE_INSTALL_LIBDIR:STRING=lib" "-DCMAKE_INSTALL_BINDIR:STRING=bin" "-D_VCPKG_ROOT_DIR=C:/Users/LeanderSchulten/git_projects/vcpkg" "-D_VCPKG_INSTALLED_DIR=C:/Users/LeanderSchulten/git_projects/vcpkg/vcpkg_installed" "-DVCPKG_MANIFEST_INSTALL=OFF" FAILED: ../CMakeCache.txt "C:/Users/LeanderSchulten/git_projects/vcpkg/downloads/tools/cmake-3.25.1-windows/cmake-3.25.1-windows-i386/bin/cmake.exe" -E chdir ".." "C:/Users/LeanderSchulten/git_projects/vcpkg/downloads/tools/cmake-3.25.1-windows/cmake-3.25.1-windows-i386/bin/cmake.exe" "C:/Users/LeanderSchulten/git_projects/vcpkg/buildtrees/wpilib/src/4f547bd2c6-e358961f33.clean" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Release" "-DCMAKE_INSTALL_PREFIX=C:/Users/LeanderSchulten/git_projects/vcpkg/packages/wpilib_x64-windows" "-DFETCHCONTENT_FULLY_DISCONNECTED=ON" "-DWITH_CSCORE=OFF" "-DWITH_SIMULATION_MODULES=OFF" "-DWITH_WPILIB=OFF" "-DPKG_CONFIG_EXECUTABLE=C:/Users/LeanderSchulten/git_projects/vcpkg/downloads/tools/msys2/6f3fa1a12ef85a6f/mingw32/bin/pkg-config.exe" "-DWITH_JAVA=OFF" "-DWITH_EXAMPLES=OFF" "-DWITH_TESTS=OFF" "-DWITH_GUI=OFF" "-DWITH_SIMULATION_MODULES=OFF" "-DUSE_SYSTEM_FMTLIB=ON" "-DUSE_SYSTEM_LIBUV=ON" "-DUSE_SYSTEM_EIGEN=ON" "-DCMAKE_MAKE_PROGRAM=C:/Users/LeanderSchulten/git_projects/vcpkg/downloads/tools/ninja/1.10.2-windows/ninja.exe" "-DBUILD_SHARED_LIBS=ON" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=C:/Users/LeanderSchulten/git_projects/vcpkg/scripts/toolchains/windows.cmake" "-DVCPKG_TARGET_TRIPLET=x64-windows" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=v143" "-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON" "-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DVCPKG_APPLOCAL_DEPS=OFF" "-DCMAKE_TOOLCHAIN_FILE=C:/Users/LeanderSchulten/git_projects/vcpkg/scripts/buildsystems/vcpkg.cmake" "-DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON" "-DVCPKG_CXX_FLAGS=" "-DVCPKG_CXX_FLAGS_RELEASE=" "-DVCPKG_CXX_FLAGS_DEBUG=" "-DVCPKG_C_FLAGS=" "-DVCPKG_C_FLAGS_RELEASE=" "-DVCPKG_C_FLAGS_DEBUG=" "-DVCPKG_CRT_LINKAGE=dynamic" "-DVCPKG_LINKER_FLAGS=" "-DVCPKG_LINKER_FLAGS_RELEASE=" "-DVCPKG_LINKER_FLAGS_DEBUG=" "-DVCPKG_TARGET_ARCHITECTURE=x64" "-DCMAKE_INSTALL_LIBDIR:STRING=lib" "-DCMAKE_INSTALL_BINDIR:STRING=bin" "-D_VCPKG_ROOT_DIR=C:/Users/LeanderSchulten/git_projects/vcpkg" "-D_VCPKG_INSTALLED_DIR=C:/Users/LeanderSchulten/git_projects/vcpkg/vcpkg_installed" "-DVCPKG_MANIFEST_INSTALL=OFF" -- The C compiler identification is MSVC 19.36.32537.0 -- The CXX compiler identification is MSVC 19.36.32537.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.36.32532/bin/Hostx64/x64/cl.exe - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.36.32532/bin/Hostx64/x64/cl.exe - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Platform version: 10.0.18362.0 -- Could NOT find LIBSSH (missing: LIBSSH_INCLUDE_DIRS LIBSSH_LIBRARIES) (Required is at least version "0.7.1") -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - not found -- Found Threads: TRUE CMake Error at wpiutil/CMakeLists.txt:187 (install): install FILES given no DESTINATION! CMake Error at wpiutil/CMakeLists.txt:188 (install): install EXPORT given no DESTINATION! CMake Error at wpinet/CMakeLists.txt:187 (install): install FILES given no DESTINATION! CMake Error at wpinet/CMakeLists.txt:188 (install): install EXPORT given no DESTINATION! CMake Error at ntcore/CMakeLists.txt:47 (install): install FILES given no DESTINATION! CMake Error at ntcore/CMakeLists.txt:48 (install): install EXPORT given no DESTINATION! CMake Error at wpimath/CMakeLists.txt:142 (install): install FILES given no DESTINATION! CMake Error at wpimath/CMakeLists.txt:143 (install): install EXPORT given no DESTINATION! CMake Error at CMakeLists.txt:332 (install): install FILES given no DESTINATION! -- Configuring incomplete, errors occurred! See also "C:/Users/LeanderSchulten/git_projects/vcpkg/buildtrees/wpilib/x64-windows-rel/CMakeFiles/CMakeOutput.log". See also "C:/Users/LeanderSchulten/git_projects/vcpkg/buildtrees/wpilib/x64-windows-rel/CMakeFiles/CMakeError.log". [2/2] "C:/Users/LeanderSchulten/git_projects/vcpkg/downloads/tools/cmake-3.25.1-windows/cmake-3.25.1-windows-i386/bin/cmake.exe" -E chdir "../../x64-windows-dbg" "C:/Users/LeanderSchulten/git_projects/vcpkg/downloads/tools/cmake-3.25.1-windows/cmake-3.25.1-windows-i386/bin/cmake.exe" "C:/Users/LeanderSchulten/git_projects/vcpkg/buildtrees/wpilib/src/4f547bd2c6-e358961f33.clean" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Debug" "-DCMAKE_INSTALL_PREFIX=C:/Users/LeanderSchulten/git_projects/vcpkg/packages/wpilib_x64-windows/debug" "-DFETCHCONTENT_FULLY_DISCONNECTED=ON" "-DWITH_CSCORE=OFF" "-DWITH_SIMULATION_MODULES=OFF" "-DWITH_WPILIB=OFF" "-DPKG_CONFIG_EXECUTABLE=C:/Users/LeanderSchulten/git_projects/vcpkg/downloads/tools/msys2/6f3fa1a12ef85a6f/mingw32/bin/pkg-config.exe" "-DWITH_JAVA=OFF" "-DWITH_EXAMPLES=OFF" "-DWITH_TESTS=OFF" "-DWITH_GUI=OFF" "-DWITH_SIMULATION_MODULES=OFF" "-DUSE_SYSTEM_FMTLIB=ON" "-DUSE_SYSTEM_LIBUV=ON" "-DUSE_SYSTEM_EIGEN=ON" "-DCMAKE_MAKE_PROGRAM=C:/Users/LeanderSchulten/git_projects/vcpkg/downloads/tools/ninja/1.10.2-windows/ninja.exe" "-DBUILD_SHARED_LIBS=ON" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=C:/Users/LeanderSchulten/git_projects/vcpkg/scripts/toolchains/windows.cmake" "-DVCPKG_TARGET_TRIPLET=x64-windows" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=v143" "-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON" "-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DVCPKG_APPLOCAL_DEPS=OFF" "-DCMAKE_TOOLCHAIN_FILE=C:/Users/LeanderSchulten/git_projects/vcpkg/scripts/buildsystems/vcpkg.cmake" "-DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON" "-DVCPKG_CXX_FLAGS=" "-DVCPKG_CXX_FLAGS_RELEASE=" "-DVCPKG_CXX_FLAGS_DEBUG=" "-DVCPKG_C_FLAGS=" "-DVCPKG_C_FLAGS_RELEASE=" "-DVCPKG_C_FLAGS_DEBUG=" "-DVCPKG_CRT_LINKAGE=dynamic" "-DVCPKG_LINKER_FLAGS=" "-DVCPKG_LINKER_FLAGS_RELEASE=" "-DVCPKG_LINKER_FLAGS_DEBUG=" "-DVCPKG_TARGET_ARCHITECTURE=x64" "-DCMAKE_INSTALL_LIBDIR:STRING=lib" "-DCMAKE_INSTALL_BINDIR:STRING=bin" "-D_VCPKG_ROOT_DIR=C:/Users/LeanderSchulten/git_projects/vcpkg" "-D_VCPKG_INSTALLED_DIR=C:/Users/LeanderSchulten/git_projects/vcpkg/vcpkg_installed" "-DVCPKG_MANIFEST_INSTALL=OFF" FAILED: ../../x64-windows-dbg/CMakeCache.txt "C:/Users/LeanderSchulten/git_projects/vcpkg/downloads/tools/cmake-3.25.1-windows/cmake-3.25.1-windows-i386/bin/cmake.exe" -E chdir "../../x64-windows-dbg" "C:/Users/LeanderSchulten/git_projects/vcpkg/downloads/tools/cmake-3.25.1-windows/cmake-3.25.1-windows-i386/bin/cmake.exe" "C:/Users/LeanderSchulten/git_projects/vcpkg/buildtrees/wpilib/src/4f547bd2c6-e358961f33.clean" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Debug" "-DCMAKE_INSTALL_PREFIX=C:/Users/LeanderSchulten/git_projects/vcpkg/packages/wpilib_x64-windows/debug" "-DFETCHCONTENT_FULLY_DISCONNECTED=ON" "-DWITH_CSCORE=OFF" "-DWITH_SIMULATION_MODULES=OFF" "-DWITH_WPILIB=OFF" "-DPKG_CONFIG_EXECUTABLE=C:/Users/LeanderSchulten/git_projects/vcpkg/downloads/tools/msys2/6f3fa1a12ef85a6f/mingw32/bin/pkg-config.exe" "-DWITH_JAVA=OFF" "-DWITH_EXAMPLES=OFF" "-DWITH_TESTS=OFF" "-DWITH_GUI=OFF" "-DWITH_SIMULATION_MODULES=OFF" "-DUSE_SYSTEM_FMTLIB=ON" "-DUSE_SYSTEM_LIBUV=ON" "-DUSE_SYSTEM_EIGEN=ON" "-DCMAKE_MAKE_PROGRAM=C:/Users/LeanderSchulten/git_projects/vcpkg/downloads/tools/ninja/1.10.2-windows/ninja.exe" "-DBUILD_SHARED_LIBS=ON" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=C:/Users/LeanderSchulten/git_projects/vcpkg/scripts/toolchains/windows.cmake" "-DVCPKG_TARGET_TRIPLET=x64-windows" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=v143" "-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON" "-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DVCPKG_APPLOCAL_DEPS=OFF" "-DCMAKE_TOOLCHAIN_FILE=C:/Users/LeanderSchulten/git_projects/vcpkg/scripts/buildsystems/vcpkg.cmake" "-DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON" "-DVCPKG_CXX_FLAGS=" "-DVCPKG_CXX_FLAGS_RELEASE=" "-DVCPKG_CXX_FLAGS_DEBUG=" "-DVCPKG_C_FLAGS=" "-DVCPKG_C_FLAGS_RELEASE=" "-DVCPKG_C_FLAGS_DEBUG=" "-DVCPKG_CRT_LINKAGE=dynamic" "-DVCPKG_LINKER_FLAGS=" "-DVCPKG_LINKER_FLAGS_RELEASE=" "-DVCPKG_LINKER_FLAGS_DEBUG=" "-DVCPKG_TARGET_ARCHITECTURE=x64" "-DCMAKE_INSTALL_LIBDIR:STRING=lib" "-DCMAKE_INSTALL_BINDIR:STRING=bin" "-D_VCPKG_ROOT_DIR=C:/Users/LeanderSchulten/git_projects/vcpkg" "-D_VCPKG_INSTALLED_DIR=C:/Users/LeanderSchulten/git_projects/vcpkg/vcpkg_installed" "-DVCPKG_MANIFEST_INSTALL=OFF" -- The C compiler identification is MSVC 19.36.32537.0 -- The CXX compiler identification is MSVC 19.36.32537.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.36.32532/bin/Hostx64/x64/cl.exe - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.36.32532/bin/Hostx64/x64/cl.exe - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Platform version: 10.0.18362.0 -- Could NOT find LIBSSH (missing: LIBSSH_INCLUDE_DIRS LIBSSH_LIBRARIES) (Required is at least version "0.7.1") -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - not found -- Found Threads: TRUE CMake Error at wpiutil/CMakeLists.txt:187 (install): install FILES given no DESTINATION! CMake Error at wpiutil/CMakeLists.txt:188 (install): install EXPORT given no DESTINATION! CMake Error at wpinet/CMakeLists.txt:187 (install): install FILES given no DESTINATION! CMake Error at wpinet/CMakeLists.txt:188 (install): install EXPORT given no DESTINATION! CMake Error at ntcore/CMakeLists.txt:47 (install): install FILES given no DESTINATION! CMake Error at ntcore/CMakeLists.txt:48 (install): install EXPORT given no DESTINATION! CMake Error at wpimath/CMakeLists.txt:142 (install): install FILES given no DESTINATION! CMake Error at wpimath/CMakeLists.txt:143 (install): install EXPORT given no DESTINATION! CMake Error at CMakeLists.txt:332 (install): install FILES given no DESTINATION! -- Configuring incomplete, errors occurred! See also "C:/Users/LeanderSchulten/git_projects/vcpkg/buildtrees/wpilib/x64-windows-dbg/CMakeFiles/CMakeOutput.log". See also "C:/Users/LeanderSchulten/git_projects/vcpkg/buildtrees/wpilib/x64-windows-dbg/CMakeFiles/CMakeError.log". ninja: build stopped: subcommand failed. ```
C:\Users\LeanderSchulten\git_projects\vcpkg\buildtrees\wpilib\config-x64-windows-dbg-CMakeCache.txt.log ``` # This is the CMakeCache file. # For build in directory: c:/Users/LeanderSchulten/git_projects/vcpkg/buildtrees/wpilib/x64-windows-dbg # It was generated by CMake: C:/Users/LeanderSchulten/git_projects/vcpkg/downloads/tools/cmake-3.25.1-windows/cmake-3.25.1-windows-i386/bin/cmake.exe # You can edit this file to change values found and used by cmake. # If you do not want to change any of the values, simply exit the editor. # If you do want to change a value, simply edit, save, and exit the editor. # The syntax for the file is as follows: # KEY:TYPE=VALUE # KEY is the name of a variable in the cache. # TYPE is a hint to GUIs for the type of VALUE, DO NOT EDIT TYPE!. # VALUE is the current value for the KEY. ######################## # EXTERNAL cache entries ######################## //Build with shared libs (needed for JNI) BUILD_SHARED_LIBS:BOOL=ON //Path to a program. CMAKE_AR:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.36.32532/bin/Hostx64/x64/lib.exe //Choose the type of build, options are: None Debug Release RelWithDebInfo // MinSizeRel ... CMAKE_BUILD_TYPE:STRING=Debug CMAKE_CROSSCOMPILING:STRING=OFF //CXX compiler CMAKE_CXX_COMPILER:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.36.32532/bin/Hostx64/x64/cl.exe CMAKE_CXX_FLAGS:STRING=' /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP ' //Flags used by the C++ compiler for Asan build type or configuration. CMAKE_CXX_FLAGS_ASAN:STRING=/D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 -fsanitize=address -fno-omit-frame-pointer CMAKE_CXX_FLAGS_DEBUG:STRING='/D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 ' //Flags used by the CXX compiler during MINSIZEREL builds. CMAKE_CXX_FLAGS_MINSIZEREL:STRING=/MD /O1 /Ob1 /DNDEBUG CMAKE_CXX_FLAGS_RELEASE:STRING='/MD /O2 /Oi /Gy /DNDEBUG /Z7 ' //Flags used by the CXX compiler during RELWITHDEBINFO builds. CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=/MD /Zi /O2 /Ob1 /DNDEBUG //Flags used by the C++ compiler for Tsan build type or configuration. CMAKE_CXX_FLAGS_TSAN:STRING=/D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 -fsanitize=thread -fno-omit-frame-pointer //Flags used by the C++ compiler for Ubsan build type or configuration. CMAKE_CXX_FLAGS_UBSAN:STRING=/D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 -fsanitize=undefined -fno-sanitize-recover=all -fno-omit-frame-pointer //Libraries linked by default with all C++ applications. CMAKE_CXX_STANDARD_LIBRARIES:STRING=kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib //C compiler CMAKE_C_COMPILER:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.36.32532/bin/Hostx64/x64/cl.exe CMAKE_C_FLAGS:STRING=' /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /MP ' //Flags used by the C compiler for Asan build type or configuration. CMAKE_C_FLAGS_ASAN:STRING=/D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 -fsanitize=address -fno-omit-frame-pointer CMAKE_C_FLAGS_DEBUG:STRING='/D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 ' //Flags used by the C compiler during MINSIZEREL builds. CMAKE_C_FLAGS_MINSIZEREL:STRING=/MD /O1 /Ob1 /DNDEBUG CMAKE_C_FLAGS_RELEASE:STRING='/MD /O2 /Oi /Gy /DNDEBUG /Z7 ' //Flags used by the C compiler during RELWITHDEBINFO builds. CMAKE_C_FLAGS_RELWITHDEBINFO:STRING=/MD /Zi /O2 /Ob1 /DNDEBUG //Flags used by the C compiler for Tsan build type or configuration. CMAKE_C_FLAGS_TSAN:STRING=/D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 -fsanitize=thread -fno-omit-frame-pointer //Flags used by the C compiler for Ubsan build type or configuration. CMAKE_C_FLAGS_UBSAN:STRING=/D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 -fsanitize=undefined -fno-sanitize-recover=all -fno-omit-frame-pointer //Libraries linked by default with all C applications. CMAKE_C_STANDARD_LIBRARIES:STRING=kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib //No help, variable specified on the command line. CMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION:UNINITIALIZED=ON //Flags used by the linker during all build types. CMAKE_EXE_LINKER_FLAGS:STRING=/machine:x64 //Linker flags to be used to create executables for Asan build // type. CMAKE_EXE_LINKER_FLAGS_ASAN:STRING=/nologo /debug /INCREMENTAL -fsanitize=address //Flags used by the linker during DEBUG builds. CMAKE_EXE_LINKER_FLAGS_DEBUG:STRING=/nologo /debug /INCREMENTAL //Flags used by the linker during MINSIZEREL builds. CMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING=/INCREMENTAL:NO CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING='/nologo /DEBUG /INCREMENTAL:NO /OPT:REF /OPT:ICF ' //Flags used by the linker during RELWITHDEBINFO builds. CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING=/debug /INCREMENTAL //Linker flags to be used to create executables for Tsan build // type. CMAKE_EXE_LINKER_FLAGS_TSAN:STRING=/nologo /debug /INCREMENTAL -fsanitize=thread //Linker flags to be used to create executables for Ubsan build // type. CMAKE_EXE_LINKER_FLAGS_UBSAN:STRING=/nologo /debug /INCREMENTAL -fsanitize=undefined -fno-sanitize-recover=all //Enable/Disable output of compile commands during generation. CMAKE_EXPORT_COMPILE_COMMANDS:BOOL= //No help, variable specified on the command line. CMAKE_EXPORT_NO_PACKAGE_REGISTRY:UNINITIALIZED=ON //No help, variable specified on the command line. CMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY:UNINITIALIZED=ON //No help, variable specified on the command line. CMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY:UNINITIALIZED=ON //Value Computed by CMake. CMAKE_FIND_PACKAGE_REDIRECTS_DIR:STATIC=C:/Users/LeanderSchulten/git_projects/vcpkg/buildtrees/wpilib/x64-windows-dbg/CMakeFiles/pkgRedirects //No help, variable specified on the command line. CMAKE_INSTALL_BINDIR:STRING=bin //No help, variable specified on the command line. CMAKE_INSTALL_LIBDIR:STRING=lib //Install path prefix, prepended onto install directories. CMAKE_INSTALL_PREFIX:PATH=C:/Users/LeanderSchulten/git_projects/vcpkg/packages/wpilib_x64-windows/debug //No help, variable specified on the command line. CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP:UNINITIALIZED=TRUE //Path to a program. CMAKE_LINKER:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.36.32532/bin/Hostx64/x64/link.exe //No help, variable specified on the command line. CMAKE_MAKE_PROGRAM:UNINITIALIZED=C:/Users/LeanderSchulten/git_projects/vcpkg/downloads/tools/ninja/1.10.2-windows/ninja.exe //Flags used by the linker during the creation of modules during // all build types. CMAKE_MODULE_LINKER_FLAGS:STRING=/machine:x64 //Flags used by the linker during the creation of modules during // DEBUG builds. CMAKE_MODULE_LINKER_FLAGS_DEBUG:STRING=/debug /INCREMENTAL //Flags used by the linker during the creation of modules during // MINSIZEREL builds. CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:STRING=/INCREMENTAL:NO //Flags used by the linker during the creation of modules during // RELEASE builds. CMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING=/INCREMENTAL:NO //Flags used by the linker during the creation of modules during // RELWITHDEBINFO builds. CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING=/debug /INCREMENTAL CMAKE_MSVC_RUNTIME_LIBRARY:STRING=MultiThreaded$<$:Debug>$<$:DLL> //Path to a program. CMAKE_MT:FILEPATH=C:/Program Files (x86)/Windows Kits/10/bin/10.0.22621.0/x64/mt.exe //Value Computed by CMake CMAKE_PROJECT_DESCRIPTION:STATIC= //Value Computed by CMake CMAKE_PROJECT_HOMEPAGE_URL:STATIC= //Value Computed by CMake CMAKE_PROJECT_NAME:STATIC=allwpilib //RC compiler CMAKE_RC_COMPILER:FILEPATH=C:/Program Files (x86)/Windows Kits/10/bin/10.0.22621.0/x64/rc.exe CMAKE_RC_FLAGS:STRING=-c65001 /DWIN32 //Flags for Windows Resource Compiler during DEBUG builds. CMAKE_RC_FLAGS_DEBUG:STRING=-D_DEBUG //Flags for Windows Resource Compiler during MINSIZEREL builds. CMAKE_RC_FLAGS_MINSIZEREL:STRING= //Flags for Windows Resource Compiler during RELEASE builds. CMAKE_RC_FLAGS_RELEASE:STRING= //Flags for Windows Resource Compiler during RELWITHDEBINFO builds. CMAKE_RC_FLAGS_RELWITHDEBINFO:STRING= //Flags used by the linker during the creation of shared libraries // during all build types. CMAKE_SHARED_LINKER_FLAGS:STRING=/machine:x64 //Linker lags to be used to create shared libraries for Asan build // type. CMAKE_SHARED_LINKER_FLAGS_ASAN:STRING=/nologo /debug /INCREMENTAL -fsanitize=address //Flags used by the linker during the creation of shared libraries // during DEBUG builds. CMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING=/nologo /debug /INCREMENTAL //Flags used by the linker during the creation of shared libraries // during MINSIZEREL builds. CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL:STRING=/INCREMENTAL:NO CMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING='/nologo /DEBUG /INCREMENTAL:NO /OPT:REF /OPT:ICF ' //Flags used by the linker during the creation of shared libraries // during RELWITHDEBINFO builds. CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO:STRING=/debug /INCREMENTAL //Linker lags to be used to create shared libraries for Tsan build // type. CMAKE_SHARED_LINKER_FLAGS_TSAN:STRING=/nologo /debug /INCREMENTAL -fsanitize=thread //Linker lags to be used to create shared libraries for Ubsan build // type. CMAKE_SHARED_LINKER_FLAGS_UBSAN:STRING=/nologo /debug /INCREMENTAL -fsanitize=undefined //If set, runtime paths are not added when installing shared libraries, // but are added when building. CMAKE_SKIP_INSTALL_RPATH:BOOL=NO //If set, runtime paths are not added when using shared libraries. CMAKE_SKIP_RPATH:BOOL=NO //Flags used by the linker during the creation of static libraries // during all build types. CMAKE_STATIC_LINKER_FLAGS:STRING=/machine:x64 //Flags used by the linker during the creation of static libraries // during DEBUG builds. CMAKE_STATIC_LINKER_FLAGS_DEBUG:STRING=/nologo //Flags used by the linker during the creation of static libraries // during MINSIZEREL builds. CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL:STRING= //Flags used by the linker during the creation of static libraries // during RELEASE builds. CMAKE_STATIC_LINKER_FLAGS_RELEASE:STRING=/nologo //Flags used by the linker during the creation of static libraries // during RELWITHDEBINFO builds. CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO:STRING= CMAKE_SYSTEM_NAME:STRING=Windows CMAKE_SYSTEM_PROCESSOR:STRING=AMD64 //INTERNAL CMAKE_SYSTEM_VERSION:STRING=10.0.18362.0 //The CMake toolchain file CMAKE_TOOLCHAIN_FILE:FILEPATH=C:/Users/LeanderSchulten/git_projects/vcpkg/scripts/buildsystems/vcpkg.cmake //If this value is on, makefiles will be generated without the // .SILENT directive, and all commands will be echoed to the console // during the make. This is useful for debugging only. With Visual // Studio IDE projects all commands are done without /nologo. CMAKE_VERBOSE_MAKEFILE:BOOL=ON //INTERNAL CMAKE_VS_WINDOWS_TARGET_PLATFORM_VERSION:STRING=10.0.18362.0 //Enable to build 7-Zip packages CPACK_BINARY_7Z:BOOL=OFF //Enable to build IFW packages CPACK_BINARY_IFW:BOOL=OFF //Enable to build NSIS packages CPACK_BINARY_NSIS:BOOL=ON //Enable to build NuGet packages CPACK_BINARY_NUGET:BOOL=OFF //Enable to build WiX packages CPACK_BINARY_WIX:BOOL=OFF //Enable to build ZIP packages CPACK_BINARY_ZIP:BOOL=OFF //Enable to build 7-Zip source packages CPACK_SOURCE_7Z:BOOL=ON //Enable to build ZIP source packages CPACK_SOURCE_ZIP:BOOL=ON //Location to look for an external HAL CMake File EXTERNAL_HAL_FILE:FILEPATH= //The directory containing a CMake configuration file for Eigen3. Eigen3_DIR:PATH=C:/Users/LeanderSchulten/git_projects/vcpkg/vcpkg_installed/x64-windows/share/eigen3 //No help, variable specified on the command line. FETCHCONTENT_FULLY_DISCONNECTED:UNINITIALIZED=ON //Path to a file. LIBSSH_INCLUDE_DIR:PATH=LIBSSH_INCLUDE_DIR-NOTFOUND //Path to a library. LIBSSH_LIBRARY:FILEPATH=LIBSSH_LIBRARY-NOTFOUND //Location to search for the OpenCV jar file OPENCV_JAVA_INSTALL_DIR:PATH= //No help, variable specified on the command line. PKG_CONFIG_EXECUTABLE:UNINITIALIZED=C:/Users/LeanderSchulten/git_projects/vcpkg/downloads/tools/msys2/6f3fa1a12ef85a6f/mingw32/bin/pkg-config.exe //Use system eigen USE_SYSTEM_EIGEN:BOOL=ON //Use system fmtlib USE_SYSTEM_FMTLIB:BOOL=ON //Use system libuv USE_SYSTEM_LIBUV:BOOL=ON //Automatically copy dependencies into the output directory for // executables. VCPKG_APPLOCAL_DEPS:BOOL=OFF //No help, variable specified on the command line. VCPKG_CHAINLOAD_TOOLCHAIN_FILE:UNINITIALIZED=C:/Users/LeanderSchulten/git_projects/vcpkg/scripts/toolchains/windows.cmake //No help, variable specified on the command line. VCPKG_CRT_LINKAGE:UNINITIALIZED=dynamic //No help, variable specified on the command line. VCPKG_CXX_FLAGS:UNINITIALIZED= //No help, variable specified on the command line. VCPKG_CXX_FLAGS_DEBUG:UNINITIALIZED= //No help, variable specified on the command line. VCPKG_CXX_FLAGS_RELEASE:UNINITIALIZED= //No help, variable specified on the command line. VCPKG_C_FLAGS:UNINITIALIZED= //No help, variable specified on the command line. VCPKG_C_FLAGS_DEBUG:UNINITIALIZED= //No help, variable specified on the command line. VCPKG_C_FLAGS_RELEASE:UNINITIALIZED= //The directory which contains the installed libraries for each // triplet VCPKG_INSTALLED_DIR:PATH=C:/Users/LeanderSchulten/git_projects/vcpkg/vcpkg_installed //No help, variable specified on the command line. VCPKG_LINKER_FLAGS:UNINITIALIZED= //No help, variable specified on the command line. VCPKG_LINKER_FLAGS_DEBUG:UNINITIALIZED= //No help, variable specified on the command line. VCPKG_LINKER_FLAGS_RELEASE:UNINITIALIZED= //The path to the vcpkg manifest directory. VCPKG_MANIFEST_DIR:PATH=C:/Users/LeanderSchulten/git_projects/vcpkg/buildtrees/wpilib/src/4f547bd2c6-e358961f33.clean //Install the dependencies listed in your manifest: //\n If this is off, you will have to manually install your dependencies. //\n See https://github.com/microsoft/vcpkg/tree/master/docs/specifications/manifests.md // for more info. //\n VCPKG_MANIFEST_INSTALL:BOOL=OFF //Use manifest mode, as opposed to classic mode. VCPKG_MANIFEST_MODE:BOOL=ON //No help, variable specified on the command line. VCPKG_PLATFORM_TOOLSET:UNINITIALIZED=v143 //Appends the vcpkg paths to CMAKE_PREFIX_PATH, CMAKE_LIBRARY_PATH // and CMAKE_FIND_ROOT_PATH so that vcpkg libraries/packages are // found after toolchain/system libraries/packages. VCPKG_PREFER_SYSTEM_LIBS:BOOL=OFF //Enable the setup of CMAKE_PROGRAM_PATH to vcpkg paths VCPKG_SETUP_CMAKE_PROGRAM_PATH:BOOL=ON //No help, variable specified on the command line. VCPKG_SET_CHARSET_FLAG:UNINITIALIZED=ON //No help, variable specified on the command line. VCPKG_TARGET_ARCHITECTURE:UNINITIALIZED=x64 //Vcpkg target triplet (ex. x86-windows) VCPKG_TARGET_TRIPLET:STRING=x64-windows //Trace calls to find_package() VCPKG_TRACE_FIND_PACKAGE:BOOL=OFF //Enables messages from the VCPKG toolchain for debugging purposes. VCPKG_VERBOSE:BOOL=OFF //Build cscore (needs OpenCV) WITH_CSCORE:BOOL=OFF //Build examples WITH_EXAMPLES:BOOL=OFF //Use a separately built HAL WITH_EXTERNAL_HAL:BOOL=OFF //Use a flat install directory WITH_FLAT_INSTALL:BOOL=OFF //Build GUI items WITH_GUI:BOOL=OFF //Include java and JNI in the build WITH_JAVA:BOOL=OFF //Build ntcore WITH_NTCORE:BOOL=ON //Build simulation modules WITH_SIMULATION_MODULES:BOOL=OFF //Build unit tests (requires internet connection) WITH_TESTS:BOOL=OFF //Build hal, wpilibc/j, and myRobot (needs OpenCV) WITH_WPILIB:BOOL=OFF //Build wpimath WITH_WPIMATH:BOOL=ON //(experimental) Automatically copy dependencies into the install // target directory for executables. Requires CMake 3.14. X_VCPKG_APPLOCAL_DEPS_INSTALL:BOOL=OFF //(experimental) Add USES_TERMINAL to VCPKG_APPLOCAL_DEPS to force // serialization. X_VCPKG_APPLOCAL_DEPS_SERIALIZED:BOOL=OFF //The directory which contains the installed libraries for each // triplet _VCPKG_INSTALLED_DIR:PATH=C:/Users/LeanderSchulten/git_projects/vcpkg/vcpkg_installed //No help, variable specified on the command line. _VCPKG_ROOT_DIR:UNINITIALIZED=C:/Users/LeanderSchulten/git_projects/vcpkg //Value Computed by CMake allwpilib_BINARY_DIR:STATIC=C:/Users/LeanderSchulten/git_projects/vcpkg/buildtrees/wpilib/x64-windows-dbg //Value Computed by CMake allwpilib_IS_TOP_LEVEL:STATIC=ON //Value Computed by CMake allwpilib_SOURCE_DIR:STATIC=C:/Users/LeanderSchulten/git_projects/vcpkg/buildtrees/wpilib/src/4f547bd2c6-e358961f33.clean //The directory containing a CMake configuration file for fmt. fmt_DIR:PATH=C:/Users/LeanderSchulten/git_projects/vcpkg/vcpkg_installed/x64-windows/share/fmt //The directory containing a CMake configuration file for libuv. libuv_DIR:PATH=C:/Users/LeanderSchulten/git_projects/vcpkg/vcpkg_installed/x64-windows/share/libuv //Value Computed by CMake ntcore_BINARY_DIR:STATIC=C:/Users/LeanderSchulten/git_projects/vcpkg/buildtrees/wpilib/x64-windows-dbg/ntcore //Value Computed by CMake ntcore_IS_TOP_LEVEL:STATIC=OFF //Dependencies for the target ntcore_LIB_DEPENDS:STATIC=general;wpinet;general;wpiutil; //Value Computed by CMake ntcore_SOURCE_DIR:STATIC=C:/Users/LeanderSchulten/git_projects/vcpkg/buildtrees/wpilib/src/4f547bd2c6-e358961f33.clean/ntcore //Value Computed by CMake wpimath_BINARY_DIR:STATIC=C:/Users/LeanderSchulten/git_projects/vcpkg/buildtrees/wpilib/x64-windows-dbg/wpimath //Value Computed by CMake wpimath_IS_TOP_LEVEL:STATIC=OFF //Dependencies for the target wpimath_LIB_DEPENDS:STATIC=general;wpiutil; //Value Computed by CMake wpimath_SOURCE_DIR:STATIC=C:/Users/LeanderSchulten/git_projects/vcpkg/buildtrees/wpilib/src/4f547bd2c6-e358961f33.clean/wpimath //Value Computed by CMake wpinet_BINARY_DIR:STATIC=C:/Users/LeanderSchulten/git_projects/vcpkg/buildtrees/wpilib/x64-windows-dbg/wpinet //Value Computed by CMake wpinet_IS_TOP_LEVEL:STATIC=OFF //Dependencies for the target wpinet_LIB_DEPENDS:STATIC=general;wpiutil; //Value Computed by CMake wpinet_SOURCE_DIR:STATIC=C:/Users/LeanderSchulten/git_projects/vcpkg/buildtrees/wpilib/src/4f547bd2c6-e358961f33.clean/wpinet //Value Computed by CMake wpiutil_BINARY_DIR:STATIC=C:/Users/LeanderSchulten/git_projects/vcpkg/buildtrees/wpilib/x64-windows-dbg/wpiutil //Value Computed by CMake wpiutil_IS_TOP_LEVEL:STATIC=OFF //Dependencies for the target wpiutil_LIB_DEPENDS:STATIC=general;fmt::fmt; //Value Computed by CMake wpiutil_SOURCE_DIR:STATIC=C:/Users/LeanderSchulten/git_projects/vcpkg/buildtrees/wpilib/src/4f547bd2c6-e358961f33.clean/wpiutil ######################## # INTERNAL cache entries ######################## //ADVANCED property for variable: CMAKE_AR CMAKE_AR-ADVANCED:INTERNAL=1 //STRINGS property for variable: CMAKE_BUILD_TYPE CMAKE_BUILD_TYPE-STRINGS:INTERNAL=Asan;Tsan;Ubsan;Debug;Release;RelWithDebInfo;MinSizeRel //This is the directory where this CMakeCache.txt was created CMAKE_CACHEFILE_DIR:INTERNAL=c:/Users/LeanderSchulten/git_projects/vcpkg/buildtrees/wpilib/x64-windows-dbg //Major version of cmake used to create the current loaded cache CMAKE_CACHE_MAJOR_VERSION:INTERNAL=3 //Minor version of cmake used to create the current loaded cache CMAKE_CACHE_MINOR_VERSION:INTERNAL=25 //Patch version of cmake used to create the current loaded cache CMAKE_CACHE_PATCH_VERSION:INTERNAL=1 //Path to CMake executable. CMAKE_COMMAND:INTERNAL=C:/Users/LeanderSchulten/git_projects/vcpkg/downloads/tools/cmake-3.25.1-windows/cmake-3.25.1-windows-i386/bin/cmake.exe //Path to cpack program executable. CMAKE_CPACK_COMMAND:INTERNAL=C:/Users/LeanderSchulten/git_projects/vcpkg/downloads/tools/cmake-3.25.1-windows/cmake-3.25.1-windows-i386/bin/cpack.exe //Path to ctest program executable. CMAKE_CTEST_COMMAND:INTERNAL=C:/Users/LeanderSchulten/git_projects/vcpkg/downloads/tools/cmake-3.25.1-windows/cmake-3.25.1-windows-i386/bin/ctest.exe //ADVANCED property for variable: CMAKE_CXX_COMPILER CMAKE_CXX_COMPILER-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_CXX_FLAGS CMAKE_CXX_FLAGS-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_CXX_FLAGS_DEBUG CMAKE_CXX_FLAGS_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_CXX_FLAGS_MINSIZEREL CMAKE_CXX_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_CXX_FLAGS_RELEASE CMAKE_CXX_FLAGS_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_CXX_FLAGS_RELWITHDEBINFO CMAKE_CXX_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_CXX_STANDARD_LIBRARIES CMAKE_CXX_STANDARD_LIBRARIES-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_C_COMPILER CMAKE_C_COMPILER-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_C_FLAGS CMAKE_C_FLAGS-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_C_FLAGS_DEBUG CMAKE_C_FLAGS_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_C_FLAGS_MINSIZEREL CMAKE_C_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_C_FLAGS_RELEASE CMAKE_C_FLAGS_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_C_FLAGS_RELWITHDEBINFO CMAKE_C_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_C_STANDARD_LIBRARIES CMAKE_C_STANDARD_LIBRARIES-ADVANCED:INTERNAL=1 //Path to cache edit program executable. CMAKE_EDIT_COMMAND:INTERNAL=C:/Users/LeanderSchulten/git_projects/vcpkg/downloads/tools/cmake-3.25.1-windows/cmake-3.25.1-windows-i386/bin/cmake-gui.exe //Executable file format CMAKE_EXECUTABLE_FORMAT:INTERNAL=Unknown //ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS CMAKE_EXE_LINKER_FLAGS-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_DEBUG CMAKE_EXE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_MINSIZEREL CMAKE_EXE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELEASE CMAKE_EXE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_EXPORT_COMPILE_COMMANDS CMAKE_EXPORT_COMPILE_COMMANDS-ADVANCED:INTERNAL=1 //Name of external makefile project generator. CMAKE_EXTRA_GENERATOR:INTERNAL= //Name of generator. CMAKE_GENERATOR:INTERNAL=Ninja //Generator instance identifier. CMAKE_GENERATOR_INSTANCE:INTERNAL= //Name of generator platform. CMAKE_GENERATOR_PLATFORM:INTERNAL= //Name of generator toolset. CMAKE_GENERATOR_TOOLSET:INTERNAL= //Test CMAKE_HAVE_LIBC_PTHREAD CMAKE_HAVE_LIBC_PTHREAD:INTERNAL= //Have library pthreads CMAKE_HAVE_PTHREADS_CREATE:INTERNAL= //Have library pthread CMAKE_HAVE_PTHREAD_CREATE:INTERNAL= //Source directory with the top level CMakeLists.txt file for this // project CMAKE_HOME_DIRECTORY:INTERNAL=C:/Users/LeanderSchulten/git_projects/vcpkg/buildtrees/wpilib/src/4f547bd2c6-e358961f33.clean //ADVANCED property for variable: CMAKE_LINKER CMAKE_LINKER-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS CMAKE_MODULE_LINKER_FLAGS-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_DEBUG CMAKE_MODULE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELEASE CMAKE_MODULE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_MT CMAKE_MT-ADVANCED:INTERNAL=1 //number of local generators CMAKE_NUMBER_OF_MAKEFILES:INTERNAL=5 //Platform information initialized CMAKE_PLATFORM_INFO_INITIALIZED:INTERNAL=1 //noop for ranlib CMAKE_RANLIB:INTERNAL=: //ADVANCED property for variable: CMAKE_RC_COMPILER CMAKE_RC_COMPILER-ADVANCED:INTERNAL=1 CMAKE_RC_COMPILER_WORKS:INTERNAL=1 //ADVANCED property for variable: CMAKE_RC_FLAGS CMAKE_RC_FLAGS-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_RC_FLAGS_DEBUG CMAKE_RC_FLAGS_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_RC_FLAGS_MINSIZEREL CMAKE_RC_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_RC_FLAGS_RELEASE CMAKE_RC_FLAGS_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_RC_FLAGS_RELWITHDEBINFO CMAKE_RC_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 //Path to CMake installation. CMAKE_ROOT:INTERNAL=C:/Users/LeanderSchulten/git_projects/vcpkg/downloads/tools/cmake-3.25.1-windows/cmake-3.25.1-windows-i386/share/cmake-3.25 //ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS CMAKE_SHARED_LINKER_FLAGS-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_DEBUG CMAKE_SHARED_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELEASE CMAKE_SHARED_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_SKIP_INSTALL_RPATH CMAKE_SKIP_INSTALL_RPATH-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_SKIP_RPATH CMAKE_SKIP_RPATH-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS CMAKE_STATIC_LINKER_FLAGS-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_DEBUG CMAKE_STATIC_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELEASE CMAKE_STATIC_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_TOOLCHAIN_FILE CMAKE_TOOLCHAIN_FILE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_VERBOSE_MAKEFILE CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CPACK_BINARY_7Z CPACK_BINARY_7Z-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CPACK_BINARY_IFW CPACK_BINARY_IFW-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CPACK_BINARY_NSIS CPACK_BINARY_NSIS-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CPACK_BINARY_NUGET CPACK_BINARY_NUGET-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CPACK_BINARY_WIX CPACK_BINARY_WIX-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CPACK_BINARY_ZIP CPACK_BINARY_ZIP-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CPACK_SOURCE_7Z CPACK_SOURCE_7Z-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CPACK_SOURCE_ZIP CPACK_SOURCE_ZIP-ADVANCED:INTERNAL=1 //Details about finding Threads FIND_PACKAGE_MESSAGE_DETAILS_Threads:INTERNAL=[TRUE][v()] //ADVANCED property for variable: VCPKG_VERBOSE VCPKG_VERBOSE-ADVANCED:INTERNAL=1 //Making sure VCPKG_MANIFEST_MODE doesn't change Z_VCPKG_CHECK_MANIFEST_MODE:INTERNAL=ON //Vcpkg root directory Z_VCPKG_ROOT_DIR:INTERNAL=C:/Users/LeanderSchulten/git_projects/vcpkg ```

The problem seems to be that on MSVC WITH_FLAT_INSTALL is set to ON but wpilib_dest to the empty string. As a result the DESTINATION parameter in the install command is an empty string.

PeterJohnson commented 1 year ago

Probably broken by #4492? We no longer test build vcpkg in CI due to disk space limitations and oddities occurring in vcpkg dependency install (removed in #4425) so it’s not surprising this broke.

autoantwort commented 1 year ago

Probably. WITH_FLAT_INSTALL seems to be broken on all platforms, but WITH_FLAT_INSTALL is force enables on MSVC.

With the main branch on macOS

Log: ``` ➜ allwpilib git:(main) cmake -S . -B build -GNinja -DWITH_FLAT_INSTALL=ON CMake Deprecation Warning at CMakeLists.txt:14 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. -- The C compiler identification is AppleClang 14.0.3.14030022 -- The CXX compiler identification is AppleClang 14.0.3.14030022 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Platform version: -- Found LIBSSH: /opt/homebrew/include (found suitable version "0.10.5", minimum required is "0.7.1") -- Found Python: /opt/homebrew/Frameworks/Python.framework/Versions/3.11/bin/python3.11 (found version "3.11.4") found components: Interpreter -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Found Java: /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/bin/java (found version "1.8.0.292") -- Found JNI: /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/include found components: AWT JVM -- Downloading Jackson jarfiles... -- All files downloaded. CMake Error at wpiutil/CMakeLists.txt:187 (install): install FILES given no DESTINATION! CMake Error at wpiutil/CMakeLists.txt:188 (install): install EXPORT given no DESTINATION! CMake Error at wpinet/CMakeLists.txt:187 (install): install FILES given no DESTINATION! CMake Error at wpinet/CMakeLists.txt:188 (install): install EXPORT given no DESTINATION! CMake Error at ntcore/CMakeLists.txt:47 (install): install FILES given no DESTINATION! CMake Error at ntcore/CMakeLists.txt:48 (install): install EXPORT given no DESTINATION! -- Downloading EJML jarfiles... -- All files downloaded. CMake Error at wpimath/CMakeLists.txt:142 (install): install FILES given no DESTINATION! CMake Error at wpimath/CMakeLists.txt:143 (install): install EXPORT given no DESTINATION! CMake Warning (dev) at /opt/homebrew/Cellar/cmake/3.27.1/share/cmake/Modules/FetchContent.cmake:1316 (message): The DOWNLOAD_EXTRACT_TIMESTAMP option was not given and policy CMP0135 is not set. The policy's OLD behavior will be used. When using a URL download, the timestamps of extracted files should preferably be that of the time of extraction, otherwise code that depends on the extracted contents might not be rebuilt if the URL changes. The OLD behavior preserves the timestamps from the archive instead, but this is usually not what you want. Update your project to the NEW behavior or specify the DOWNLOAD_EXTRACT_TIMESTAMP option with a value of true to avoid this robustness issue. Call Stack (most recent call first): imgui/CMakeLists.txt:23 (FetchContent_Declare) This warning is for project developers. Use -Wno-dev to suppress it. -- Found Doxygen: /Applications/Doxygen.app/Contents/Resources/doxygen (found version "1.8.14") found components: doxygen -- Including Cocoa support -- Found Python: /opt/homebrew/Frameworks/Python.framework/Versions/3.11/bin/python3.11 (found version "3.11.4") found components: Interpreter Development Development.Module Development.Embed Downloading /Users/leanderSchulten/git_projekte/allwpilib/build/_deps/gl3w-build/include/GL/glcorearb.h... Downloading /Users/leanderSchulten/git_projekte/allwpilib/build/_deps/gl3w-build/include/KHR/khrplatform.h... Parsing glcorearb.h header... Generating /Users/leanderSchulten/git_projekte/allwpilib/build/_deps/gl3w-build/include/GL/gl3w.h... Generating /Users/leanderSchulten/git_projekte/allwpilib/build/_deps/gl3w-build/src/gl3w.c... CMake Error at hal/CMakeLists.txt:69 (install): install FILES given no DESTINATION! CMake Error at hal/CMakeLists.txt:70 (install): install EXPORT given no DESTINATION! CMake Error at cscore/CMakeLists.txt:8 (find_package): By not providing "FindOpenCV.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "OpenCV", but CMake did not find one. Could not find a package configuration file provided by "OpenCV" with any of the following names: OpenCVConfig.cmake opencv-config.cmake Add the installation prefix of "OpenCV" to CMAKE_PREFIX_PATH or set "OpenCV_DIR" to a directory containing one of the above files. If "OpenCV" provides a separate development package or SDK, be sure it has been installed. -- Configuring incomplete, errors occurred! ```