Skip to content
Snippets Groups Projects

Draft: Feat: setup VC environment during configuration

Open Pascal Palenda requested to merge feature/vc-toolchain into main
1 file
+ 15
0
Compare changes
  • Side-by-side
  • Inline
+ 15
0
@@ -68,3 +68,18 @@ macro (find_package)
# message (FATAL_ERROR "Package ${ARGV0} found as a Target; skip find_package")
# endif ()
endmacro ()
CPMAddPackage (
NAME project_options
GITHUB_REPOSITORY aminya/project_options
VERSION 0.36.4
DOWNLOAD_ONLY YES
)
include (${project_options_SOURCE_DIR}/src/VCEnvironment.cmake)
if ("${CMAKE_TOOLCHAIN_FILE}" STREQUAL "")
msvc_toolchain ()
else ()
message (STATUS "project_options: skipping msvc_toolchain as CMAKE_TOOLCHAIN_FILE is set")
endif ()
Loading