Skip to content

Commit

Permalink
Dev
Browse files Browse the repository at this point in the history
  • Loading branch information
BlankSpruce committed Mar 24, 2024
1 parent 628dc4c commit 9db3785
Show file tree
Hide file tree
Showing 4 changed files with 78 additions and 0 deletions.
18 changes: 18 additions & 0 deletions tests/formatter/set_target_xcode_properties.in.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
### {definitions: [tests/formatter/set_target_xcode_properties.in.cmake], indent: tabs, line_length: 120}
function(set_target_xcode_properties)
set(options "")
set(oneValueArgs "")
set(multiValueArgs PROPERTIES)
cmake_parse_arguments(PARSE_ARGV 0 _STXP "${options}" "${oneValueArgs}" "${multiValueArgs}")
endfunction()

set_target_xcode_properties(
<target>
PROPERTIES PRODUCT_NAME <target>
PRODUCT_BUNDLE_IDENTIFIER "<bundle identifier>"
MARKETING_VERSION <version>
GENERATE_INFOPLIST_FILE YES
INFOPLIST_FILE ""
INFOPLIST_KEY_CFBundleDisplayName <target>
INFOPLIST_KEY_NSHumanReadableCopyright <copyright>
)
25 changes: 25 additions & 0 deletions tests/formatter/set_target_xcode_properties.out.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
function(set_target_xcode_properties)
set(options "")
set(oneValueArgs "")
set(multiValueArgs PROPERTIES)
cmake_parse_arguments(PARSE_ARGV 0 _STXP "${options}" "${oneValueArgs}" "${multiValueArgs}")
endfunction()

set_target_xcode_properties(
<target>
PROPERTIES
PRODUCT_NAME
<target>
PRODUCT_BUNDLE_IDENTIFIER
"<bundle identifier>"
MARKETING_VERSION
<version>
GENERATE_INFOPLIST_FILE
YES
INFOPLIST_FILE
""
INFOPLIST_KEY_CFBundleDisplayName
<target>
INFOPLIST_KEY_NSHumanReadableCopyright
<copyright>
)
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
### {indent: tabs, line_length: 120}
function(set_target_xcode_properties)
set(options "")
set(oneValueArgs "")
set(multiValueArgs PROPERTIES)
cmake_parse_arguments(PARSE_ARGV 0 _STXP "${options}" "${oneValueArgs}" "${multiValueArgs}")
endfunction()

set_target_xcode_properties(
<target>
PROPERTIES PRODUCT_NAME <target>
PRODUCT_BUNDLE_IDENTIFIER "<bundle identifier>"
MARKETING_VERSION <version>
GENERATE_INFOPLIST_FILE YES
INFOPLIST_FILE ""
INFOPLIST_KEY_CFBundleDisplayName <target>
INFOPLIST_KEY_NSHumanReadableCopyright <copyright>
)
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
function(set_target_xcode_properties)
set(options "")
set(oneValueArgs "")
set(multiValueArgs PROPERTIES)
cmake_parse_arguments(PARSE_ARGV 0 _STXP "${options}" "${oneValueArgs}" "${multiValueArgs}")
endfunction()

set_target_xcode_properties(
<target>
PROPERTIES PRODUCT_NAME <target>
PRODUCT_BUNDLE_IDENTIFIER "<bundle identifier>"
MARKETING_VERSION <version>
GENERATE_INFOPLIST_FILE YES
INFOPLIST_FILE ""
INFOPLIST_KEY_CFBundleDisplayName <target>
INFOPLIST_KEY_NSHumanReadableCopyright <copyright>
)

0 comments on commit 9db3785

Please sign in to comment.