Skip to content

Commit 9db3785

Browse files
committed
Dev
1 parent 628dc4c commit 9db3785

4 files changed

+78
-0
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
### {definitions: [tests/formatter/set_target_xcode_properties.in.cmake], indent: tabs, line_length: 120}
2+
function(set_target_xcode_properties)
3+
set(options "")
4+
set(oneValueArgs "")
5+
set(multiValueArgs PROPERTIES)
6+
cmake_parse_arguments(PARSE_ARGV 0 _STXP "${options}" "${oneValueArgs}" "${multiValueArgs}")
7+
endfunction()
8+
9+
set_target_xcode_properties(
10+
<target>
11+
PROPERTIES PRODUCT_NAME <target>
12+
PRODUCT_BUNDLE_IDENTIFIER "<bundle identifier>"
13+
MARKETING_VERSION <version>
14+
GENERATE_INFOPLIST_FILE YES
15+
INFOPLIST_FILE ""
16+
INFOPLIST_KEY_CFBundleDisplayName <target>
17+
INFOPLIST_KEY_NSHumanReadableCopyright <copyright>
18+
)
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
function(set_target_xcode_properties)
2+
set(options "")
3+
set(oneValueArgs "")
4+
set(multiValueArgs PROPERTIES)
5+
cmake_parse_arguments(PARSE_ARGV 0 _STXP "${options}" "${oneValueArgs}" "${multiValueArgs}")
6+
endfunction()
7+
8+
set_target_xcode_properties(
9+
<target>
10+
PROPERTIES
11+
PRODUCT_NAME
12+
<target>
13+
PRODUCT_BUNDLE_IDENTIFIER
14+
"<bundle identifier>"
15+
MARKETING_VERSION
16+
<version>
17+
GENERATE_INFOPLIST_FILE
18+
YES
19+
INFOPLIST_FILE
20+
""
21+
INFOPLIST_KEY_CFBundleDisplayName
22+
<target>
23+
INFOPLIST_KEY_NSHumanReadableCopyright
24+
<copyright>
25+
)
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
### {indent: tabs, line_length: 120}
2+
function(set_target_xcode_properties)
3+
set(options "")
4+
set(oneValueArgs "")
5+
set(multiValueArgs PROPERTIES)
6+
cmake_parse_arguments(PARSE_ARGV 0 _STXP "${options}" "${oneValueArgs}" "${multiValueArgs}")
7+
endfunction()
8+
9+
set_target_xcode_properties(
10+
<target>
11+
PROPERTIES PRODUCT_NAME <target>
12+
PRODUCT_BUNDLE_IDENTIFIER "<bundle identifier>"
13+
MARKETING_VERSION <version>
14+
GENERATE_INFOPLIST_FILE YES
15+
INFOPLIST_FILE ""
16+
INFOPLIST_KEY_CFBundleDisplayName <target>
17+
INFOPLIST_KEY_NSHumanReadableCopyright <copyright>
18+
)
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
function(set_target_xcode_properties)
2+
set(options "")
3+
set(oneValueArgs "")
4+
set(multiValueArgs PROPERTIES)
5+
cmake_parse_arguments(PARSE_ARGV 0 _STXP "${options}" "${oneValueArgs}" "${multiValueArgs}")
6+
endfunction()
7+
8+
set_target_xcode_properties(
9+
<target>
10+
PROPERTIES PRODUCT_NAME <target>
11+
PRODUCT_BUNDLE_IDENTIFIER "<bundle identifier>"
12+
MARKETING_VERSION <version>
13+
GENERATE_INFOPLIST_FILE YES
14+
INFOPLIST_FILE ""
15+
INFOPLIST_KEY_CFBundleDisplayName <target>
16+
INFOPLIST_KEY_NSHumanReadableCopyright <copyright>
17+
)

0 commit comments

Comments
 (0)