Files
CMake/Tests/RunCMake/VS10Project/VsDefaultFlags.cmake
AJIOB 99d09ec45a VS: Suppress MSBuild default link flags not specified by project or user
MSBuild adds some `link` flags by default, but for CMake they may not
match what's produced by command-line generators.  If these flags are
not specified by the project or user, suppress them.

Fixes: #27004
2025-06-17 14:12:43 -04:00

5 lines
127 B
CMake

enable_language(C)
add_library(emptyStatic STATIC empty.c)
add_library(emptyShared SHARED empty.c)
add_executable(main main.c)