mirror of
https://github.com/cookiengineer/audacity
synced 2025-07-25 08:58:06 +02:00
Update CMake project for Mac
Hopefully, this will make Audacity the default configuration in the XCode GUI. It works for me, but need others to test it.
This commit is contained in:
parent
df0228cd8b
commit
bc3a878ba1
@ -41,6 +41,9 @@ cmake_policy( SET CMP0075 NEW )
|
||||
# Definitions that must happen before the project() command
|
||||
if( APPLE )
|
||||
|
||||
# Generate schema files
|
||||
set( CMAKE_XCODE_GENERATE_SCHEME ON )
|
||||
|
||||
# Define the OSX compatibility parameters
|
||||
set( CMAKE_OSX_ARCHITECTURES x86_64 CACHE INTERNAL "" )
|
||||
set( CMAKE_OSX_DEPLOYMENT_TARGET 10.7 CACHE INTERNAL "" )
|
||||
|
@ -1258,7 +1258,7 @@ elseif( CMAKE_SYSTEM_NAME MATCHES "Darwin" )
|
||||
set( WRAPPER_SOURCES "${WRAPPER_ROOT}/Wrapper.c" )
|
||||
|
||||
add_executable( Wrapper "${WRAPPER_SOURCES}" )
|
||||
add_dependencies( Wrapper "${TARGET}" )
|
||||
add_dependencies( "${TARGET}" Wrapper )
|
||||
|
||||
set_target_property_all( "Wrapper" RUNTIME_OUTPUT_DIRECTORY "${_EXEDIR}" )
|
||||
organize_source( "${WRAPPER_ROOT}" "mac" "${WRAPPER_SOURCES}" )
|
||||
|
Loading…
x
Reference in New Issue
Block a user