mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-21 06:30:20 -06:00
8 lines
222 B
CMake
8 lines
222 B
CMake
enable_language(C)
|
|
|
|
add_executable(Win32GenEx main.c)
|
|
set_target_properties(Win32GenEx PROPERTIES
|
|
WIN32_EXECUTABLE $<CONFIG:Release>
|
|
)
|
|
target_compile_definitions(Win32GenEx PRIVATE $<$<CONFIG:Release>:USE_WIN32_MAIN>)
|