Skip to content

Commit

Permalink
Remove the prior-version OS specific files
Browse files Browse the repository at this point in the history
No longer needed in XT.

Closes #4337
  • Loading branch information
baconpaul committed Apr 23, 2021
1 parent 4ca0fa8 commit 782ebc8
Show file tree
Hide file tree
Showing 12 changed files with 2 additions and 1,068 deletions.
14 changes: 2 additions & 12 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -352,15 +352,11 @@ set(SURGE_GUI_INCLUDES

### OS SPECIFIC SECTION
if( APPLE )
set(SURGE_OS_SOURCES
src/mac/objc_utils.mm
)
set(SURGE_OS_SOURCES)

set(SURGE_OS_GUI_SOURCES
)
set(SURGE_OS_GUI_SOURCES)

set(OS_INCLUDE_DIRECTORIES
src/mac
libs/simde
)
set(OS_COMPILE_DEFINITIONS
Expand Down Expand Up @@ -421,8 +417,6 @@ elseif( UNIX AND NOT APPLE )
)

set(OS_INCLUDE_DIRECTORIES
src/linux

${CAIRO_INCLUDE_DIRS}
${FONTCONFIG_INCLUDE_DIRS}
${X11_INCLUDE_DIRS}
Expand Down Expand Up @@ -485,7 +479,6 @@ elseif( WIN32 )

set(OS_INCLUDE_DIRECTORIES
${CMAKE_CURRENT_SOURCE_DIR}
src/windows
${CMAKE_BINARY_DIR}/geninclude
)

Expand Down Expand Up @@ -535,9 +528,6 @@ source_group( "Surge GUI" REGULAR_EXPRESSION "src/common/gui" )
source_group( "Generated Code" REGULAR_EXPRESSION "version.cpp" )
source_group( "AU Plugin" REGULAR_EXPRESSION "src/au" )
source_group( "Headless" REGULAR_EXPRESSION "src/headless" )
source_group( "Linux" REGULAR_EXPRESSION "src/linux" )
source_group( "macOS" REGULAR_EXPRESSION "src/mac" )
source_group( "Windows" REGULAR_EXPRESSION "src/windows" )
source_group( "Surge XT Juce" REGULAR_EXPRESSION "src/surge_synth_juce" )
source_group( "Surge FX Juce" REGULAR_EXPRESSION "src/surge_effects_bank" )

Expand Down
7 changes: 0 additions & 7 deletions cmake/versiontools.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -116,10 +116,3 @@ message( STATUS "Configuring ${SURGEBLD}/geninclude/version.cpp" )
configure_file( ${SURGESRC}/src/common/version.cpp.in
${SURGEBLD}/geninclude/version.cpp )

if( WIN32 )
message( STATUS "Configuring surgeversion.rc" )
configure_file( ${SURGESRC}/src/windows/surgeversion.rc.in
${SURGEBLD}/geninclude/surgeversion.rc
)
endif()

6 changes: 0 additions & 6 deletions src/common/resource.h
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,3 @@
#endif
#endif

#if WINDOWS
#define SCALABLE_SVG_OFFSET 80000

#include "scalableresource.h" // found in src/windows

#endif
247 changes: 0 additions & 247 deletions src/linux/LinuxVST3Helpers.cpp

This file was deleted.

Loading

0 comments on commit 782ebc8

Please sign in to comment.