
dofile("../../../scripts/make-project.lua")

package = make_juce_vst_project("CabbagePluginEffect")

project.bindir  = "../../../bin/cabbage"
package.links   = { package.links, "csound64", "sndfile", "FLAC", "vorbisenc", "vorbis", "ogg", "m" }
package.defines = { package.defines, "USE_DOUBLE=1", "CSOUND6=1" }

package.includepaths = {
  package.includepaths,
  "/opt/kxstudio/include/csound",
  "/usr/include/csound"
}

package.libpaths = {
  package.libpaths,
  "/opt/kxstudio/lib"
}

package.files = {
  matchfiles (
    "../source/*.cpp",
    "../source/Plugin/*.cpp",
    "../../../libs/juce-plugin/JucePluginMain.cpp"
  )
}
