mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-25 04:09:36 +03:00
7 lines
217 B
CMake
7 lines
217 B
CMake
set(CMAKE_CONFIGURATION_TYPES "Release" CACHE INTERNAL "Supported configuration types")
|
|
|
|
project(XcodePreserveObjcFlag CXX)
|
|
|
|
add_library(foo STATIC foo.cpp)
|
|
set_target_properties(foo PROPERTIES COMPILE_OPTIONS -ObjC)
|