Files
CMake/Tests/RunCMake/VS10Project/VsForceInclude.cmake
Brad King 20cd951c9f VS: Add compiler flag table entry for -FI followed by separate argument
The MSVC `/FI` flag accepts an attached value or a following argument.
Previously our flag tables only had entries for the former.  Add
the latter.

Fixes: #23382
2022-04-01 16:37:08 -04:00

6 lines
181 B
CMake

enable_language(CXX)
add_library(tgt STATIC empty.cxx)
target_compile_options(tgt PRIVATE "SHELL:/FI force_include_1.h")
target_compile_options(tgt PRIVATE "/FIforce_include_2.h")