set(base_sources source/baseiids.cpp source/classfactoryhelpers.h source/fbuffer.cpp source/fbuffer.h source/fcleanup.h source/fcommandline.h source/fdebug.cpp source/fdebug.h source/fdynlib.cpp source/fdynlib.h source/fobject.cpp source/fobject.h source/flock.cpp source/flock.h source/fstreamer.cpp source/fstreamer.h source/fstring.cpp source/fstring.h source/timer.cpp source/timer.h source/updatehandler.cpp source/updatehandler.h ) set(base_sources_ext source/basefwd.h source/classfactory.cpp source/classfactory.h source/fatomic.cpp source/fatomic.h source/fbitset.cpp source/fbitset.h source/fcontainer.h source/fcpu.cpp source/fcpu.h source/fcriticalperformance.cpp source/fcriticalperformance.h source/finitializer.cpp source/finitializer.h source/fmemory.cpp source/fmemory.h source/fpoint.cpp source/fpoint.h source/frect.cpp source/frect.h source/fregion.cpp source/fregion.h source/frwlock_generic.h source/frwlock_macosx.h source/frwlock_windows.h source/fstdmethods.h source/fstringmethods.h source/fstringstream.h source/fthread.cpp source/fthread.h source/funknownfactory.h source/hexbinary.h source/istreamwrapper.cpp source/istreamwrapper.h source/tringbuffer.h ) if (VST_SDK) add_library(base STATIC ${base_sources}) else() add_library(base STATIC ${base_sources} ${base_sources_ext}) endif() # iOS target if(MAC AND XCODE AND IOS_DEVELOPMENT_TEAM) add_library(base_ios STATIC ${base_sources}) smtg_set_platform_ios(base_ios) endif()