summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/XcodeProject-Device/EffectivePlatformNameOFF.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/XcodeProject-Device/EffectivePlatformNameOFF.cmake')
-rw-r--r--Tests/RunCMake/XcodeProject-Device/EffectivePlatformNameOFF.cmake12
1 files changed, 12 insertions, 0 deletions
diff --git a/Tests/RunCMake/XcodeProject-Device/EffectivePlatformNameOFF.cmake b/Tests/RunCMake/XcodeProject-Device/EffectivePlatformNameOFF.cmake
new file mode 100644
index 0000000..4a3bf56
--- /dev/null
+++ b/Tests/RunCMake/XcodeProject-Device/EffectivePlatformNameOFF.cmake
@@ -0,0 +1,12 @@
+enable_language(CXX)
+
+set_property(GLOBAL PROPERTY XCODE_EMIT_EFFECTIVE_PLATFORM_NAME OFF)
+
+set(CMAKE_MACOSX_BUNDLE true)
+
+add_library(library STATIC foo.cpp)
+
+add_executable(main main.cpp)
+target_link_libraries(main library)
+
+install(TARGETS library ARCHIVE DESTINATION lib)