mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-05 16:43:52 +01:00
Various cmake changes
Mostly from suggestions, but there's a couple of other minor fixes and additions: Cmake not decides with SDK to use on Windows All Audacity cmake options are not prefixed with "audacity_", but this is configurable in audacity/CMakeLists.txt Several other options have been marked advanced so they don't clutter the CMake GUI On Windows, multiple processors will now be used reducing build time considerably Quieted a couple of package messages that the user doesn't need to see No longer tried to create aliases on Windows No longer used precompiled headers if ccache is available On Windows, only copies the needed wxWidgets and VC runtime libraries to the bin directory
This commit is contained in:
@@ -6,8 +6,8 @@ def_vars()
|
||||
|
||||
message( STATUS "========== Configuring ${name} ==========" )
|
||||
|
||||
option( use_system_${name} "Use ${name} system library if available" ${prefer_system_libs} )
|
||||
if( use_system_${name} )
|
||||
option( ${_OPT}use_system_${name} "Use ${name} system library if available" ${${_OPT}prefer_system_libs} )
|
||||
if( ${_OPT}use_system_${name} )
|
||||
find_package(wxWidgets)
|
||||
endif()
|
||||
|
||||
@@ -53,7 +53,7 @@ if( wxWidgets_FOUND )
|
||||
else()
|
||||
message( STATUS "Using local '${name}' library" )
|
||||
|
||||
set( use_system_${name} OFF CACHE BOOL "Prefer ${name} system library if available" FORCE )
|
||||
set( ${_OPT}use_system_${name} OFF CACHE BOOL "Prefer ${name} system library if available" FORCE )
|
||||
|
||||
set( WXWIN $ENV{WXWIN} )
|
||||
if( "${WXWIN}" STREQUAL "" )
|
||||
|
||||
Reference in New Issue
Block a user