C:\Users\KLEIN_CL\Workspace\cpp\execution26>cmake --workflow --preset debug
Executing workflow step 1 of 3: configure preset "debug"
Preset CMake variables:
CMAKE_CXX_EXTENSIONS:BOOL="FALSE"
CMAKE_CXX_FLAGS="/W3 /EHsc /w14242 /w14254 /w14263 /w14265 /w14287 /w14289 /w14296 /w14311 /w14545 /w14546 /w14547 /w14549 /w14555 /w14640 /w14826 /w14928 /WX"
CMAKE_CXX_STANDARD="23"
CMAKE_CXX_STANDARD_REQUIRED:BOOL="TRUE"
CMAKE_EXPORT_COMPILE_COMMANDS:BOOL="TRUE"
CMAKE_INSTALL_PREFIX:PATH="C:/Users/KLEIN_CL/Workspace/cpp/execution26/stagedir"
CMAKE_PREFIX_PATH:STRING="C:/Users/KLEIN_CL/Workspace/cpp/execution26/stagedir"
-- Selecting Windows SDK version 10.0.22621.0 to target Windows 10.0.22631.
-- TARGET_ALIAS="beman_execution26::beman_execution26" ; TARGET_LIBRARY="beman_execution26" ; TARGET_PREFIX="beman.execution26" ; PROJECT_SOURCE_DIR="C:/Users/KLEIN_CL/Workspace/cpp/execution26"
-- Configuring done (0.0s)
-- Generating done (0.7s)
-- Build files have been written to: C:/Users/KLEIN_CL/Workspace/cpp/execution26/build/debug
Executing workflow step 2 of 3: build preset "debug"
MSBuild-Version 17.11.9+a69bbaaf5 für .NET Framework
MSBUILD : error MSB1009: Die Projektdatei ist nicht vorhanden.
Schalter: all.vcxproj
C:\Users\KLEIN_CL\Workspace\cpp\execution26>
{
# ...
"buildPresets": [
{
"name": "debug",
"configurePreset": "debug",
"configuration": "Debug",
"targets": [
"all",
"install"
]
},
{
"name": "release",
"configurePreset": "release",
"configuration": "Release",
"targets": [
"all",
"all_verify_interface_header_sets",
"install"
]
}
]
}
@ben.boeckel Should we have an unified mapping for all the CMake generated targets
?
cmake --build build/debug --config Debug --target ALL_BUILD
all, test, install, clean
should always work, or not?
The Visual Studio targets are only partly mapped?
unified target | VS target | mapped |
---|---|---|
all | ALL_BUILD | no |
test | RUN_TESTS | ? |
clean | ? | |
install | INSTALL | yes |
all_verify_interface_header_sets | all_verify_interface_header_sets | yes |