Skip to content

Commit

Permalink
StkInst into sc3plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
sonoro1234 committed Nov 27, 2015
1 parent dfb0f8f commit 2661174
Show file tree
Hide file tree
Showing 10 changed files with 765 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
[submodule "libs/nova-simd"]
path = libs/nova-simd
url = git://github.com/timblechmann/nova-simd.git
[submodule "source/StkInst/stk"]
path = source/StkInst/stk
url = https://github.com/thestk/stk.git
27 changes: 27 additions & 0 deletions source/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ set(PLUGIN_DIRS_EXTRA
NCAnalysisUGens
OteyPianoUGens
PitchDetection
StkInst
StkUGens
TJUGens
)
Expand Down Expand Up @@ -272,6 +273,30 @@ else()
endif()
endif()

# StkInst
file(GLOB STKinstSources "StkInst/stk/src/*.cpp")
file(GLOB UnneededSTKinstSources "StkInst/stk/src/Rt*.cpp"
"StkInst/stk/src/Inet*.cpp"
"StkInst/stk/src/Socket.cpp"
"StkInst/stk/src/Tcp*.cpp"
"StkInst/stk/src/UdpSocket.cpp"
"StkInst/stk/src/Thread.cpp"
"StkInst/stk/src/Mutex.cpp"
)
list(REMOVE_ITEM STKinstSources ${UnneededSTKinstSources})
include_directories(StkInst/stk)
include_directories(StkInst/stk/include)
include_directories(StkInst/stk/src/include)

include (${CMAKE_ROOT}/Modules/TestBigEndian.cmake)
add_definitions("-D_STK_DEBUG_")

TEST_BIG_ENDIAN(is_big_endian)
if(NOT is_big_endian)
add_definitions("-D__LITTLE_ENDIAN__")
endif()

BUILD_PLUGIN(StkInst "StkInst/StkInst.cpp;${STKinstSources}" "" "StkInst")
# StkUGens
file(GLOB STKSources "StkUGens/stk-4.4.2/src/*.cpp")
file(GLOB UnneededSTKSources "StkUGens/stk-4.4.2/src/Rt*.cpp"
Expand All @@ -288,6 +313,8 @@ include_directories(StkUGens/stk-4.4.2/include)
include_directories(StkUGens/stk-4.4.2/src/include)
BUILD_PLUGIN(StkUGens "StkUGens/StkAll.cpp;${STKSources}" "" "StkUGens")



# NCAnalysisUGens
file(GLOB NCAnalysisSources NCAnalysisUGens/*cpp)
if(APPLE)
Expand Down
2 changes: 2 additions & 0 deletions source/StkInst/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# StkInst
Stk wraping for SC
Loading

0 comments on commit 2661174

Please sign in to comment.