mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-02 03:39:43 -06:00
For policy-specific tests, use the version before the policy was introduced. Otherwise, use 3.5 where possible. Also, remove `cmake_minimum_required()` and `project()` calls from individual cases where they are handled by `CMakeLists.txt`.
8 lines
195 B
CMake
8 lines
195 B
CMake
enable_language(CXX)
|
|
|
|
set(XCODE_ATTRIBUTE_CODE_SIGNING_REQUIRED "NO")
|
|
set(CMAKE_XCODE_ATTRIBUTE_ENABLE_BITCODE "NO")
|
|
|
|
add_library(foo STATIC foo.cpp)
|
|
install(TARGETS foo ARCHIVE DESTINATION lib)
|