Browse Source

More cmake mac framework fixups

Signed-off-by: falkTX <falktx@falktx.com>
fix-audiofile-buffering
falkTX 1 year ago
parent
commit
c25d18bfd2
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
2 changed files with 3 additions and 14 deletions
  1. +1
    -10
      cmake/CMakeLists.txt
  2. +2
    -4
      cmake/Info-framework.plist.in

+ 1
- 10
cmake/CMakeLists.txt View File

@@ -56,7 +56,7 @@ if(${CARLA_BUILD_FRAMEWORKS} AND NOT APPLE)
endif()

if(${CARLA_BUILD_FRAMEWORKS})
execute_process(COMMAND "date -u +%y%m%d%H%M%S" OUTPUT_VARIABLE CARLA_DATE OUTPUT_STRIP_TRAILING_WHITESPACE)
execute_process(COMMAND date -u +%y%m%d%H%M%S OUTPUT_VARIABLE CARLA_DATE OUTPUT_STRIP_TRAILING_WHITESPACE)
endif()

#######################################################################################################################
@@ -846,11 +846,8 @@ if(${CARLA_BUILD_FRAMEWORKS})
FRAMEWORK_VERSION A
OUTPUT_NAME carla-native-plugin
PUBLIC_HEADER "${carla-native-plugin-public-headers}"
CARLA_OSX_DEPLOYMENT_TARGET "${CARLA_OSX_DEPLOYMENT_TARGET}"
MACOSX_FRAMEWORK_INFO_PLIST "${CMAKE_CURRENT_SOURCE_DIR}/Info-framework.plist.in"
MACOSX_FRAMEWORK_IDENTIFIER "studio.kx.carla.native-plugin"
MACOSX_FRAMEWORK_BUNDLE_NAME "carla-native-plugin"
MACOSX_FRAMEWORK_BUNDLE_DISPLAY_NAME "Carla Native Plugin"
MACOSX_FRAMEWORK_BUNDLE_VERSION "${CARLA_DATE}"
MACOSX_FRAMEWORK_SHORT_VERSION_STRING "${PROJECT_SHORT_VERSION}"
)
@@ -1018,11 +1015,8 @@ if(${CARLA_BUILD_FRAMEWORKS})
FRAMEWORK_VERSION A
OUTPUT_NAME carla-standalone
PUBLIC_HEADER "${carla-standalone-public-headers}"
CARLA_OSX_DEPLOYMENT_TARGET "${CARLA_OSX_DEPLOYMENT_TARGET}"
MACOSX_FRAMEWORK_INFO_PLIST "${CMAKE_CURRENT_SOURCE_DIR}/Info-framework.plist.in"
MACOSX_FRAMEWORK_IDENTIFIER "studio.kx.carla.standalone"
MACOSX_FRAMEWORK_BUNDLE_NAME "carla-standalone"
MACOSX_FRAMEWORK_BUNDLE_DISPLAY_NAME "Carla Standalone"
MACOSX_FRAMEWORK_BUNDLE_VERSION "${CARLA_DATE}"
MACOSX_FRAMEWORK_SHORT_VERSION_STRING "${PROJECT_SHORT_VERSION}"
)
@@ -1168,11 +1162,8 @@ if(${CARLA_BUILD_FRAMEWORKS})
FRAMEWORK_VERSION A
OUTPUT_NAME carla-utils
PUBLIC_HEADER "${carla-utils-public-headers}"
CARLA_OSX_DEPLOYMENT_TARGET "${CARLA_OSX_DEPLOYMENT_TARGET}"
MACOSX_FRAMEWORK_INFO_PLIST "${CMAKE_CURRENT_SOURCE_DIR}/Info-framework.plist.in"
MACOSX_FRAMEWORK_IDENTIFIER "studio.kx.carla.utils"
MACOSX_FRAMEWORK_BUNDLE_NAME "carla-utils"
MACOSX_FRAMEWORK_BUNDLE_DISPLAY_NAME "Carla Utils"
MACOSX_FRAMEWORK_BUNDLE_VERSION "${CARLA_DATE}"
MACOSX_FRAMEWORK_SHORT_VERSION_STRING "${PROJECT_SHORT_VERSION}"
)


+ 2
- 4
cmake/Info-framework.plist.in View File

@@ -4,10 +4,8 @@
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleDisplayName</key>
<string>@MACOSX_FRAMEWORK_BUNDLE_DISPLAY_NAME@</string>
<key>CFBundleExecutable</key>
<string>@MACOSX_FRAMEWORK_BUNDLE_NAME@</string>
<string>@MACOSX_FRAMEWORK_NAME@</string>
<key>CFBundleIdentifier</key>
<string>@MACOSX_FRAMEWORK_IDENTIFIER@</string>
<key>CFBundleInfoDictionaryVersion</key>
@@ -15,7 +13,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleName</key>
<string>@MACOSX_FRAMEWORK_BUNDLE_NAME@</string>
<string>@MACOSX_FRAMEWORK_NAME@</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleSupportedPlatforms</key>


Loading…
Cancel
Save