mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-21 22:50:26 -06:00
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
5 lines
127 B
CMake
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)
|