The JUCE cross-platform C++ framework, with DISTRHO/KXStudio specific changes
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

56 lines
1.4KB

  1. project.name = "JucePluginDemo"
  2. project.bindir = "build"
  3. project.libdir = "build"
  4. project.configs = { "Debug", "Release" }
  5. package = newpackage()
  6. package.name = "JucePluginDemo"
  7. package.kind = "dll"
  8. package.language = "c++"
  9. package.objdir = "build/intermediate"
  10. package.config["Debug"].objdir = "build/intermediate/Debug"
  11. package.config["Release"].objdir = "build/intermediate/Release"
  12. package.config["Debug"].defines = { "LINUX=1", "DEBUG=1", "_DEBUG=1" }
  13. package.config["Debug"].buildoptions = { "-O0 -ggdb -g3 -Wall" }
  14. package.config["Release"].defines = { "LINUX=1", "NDEBUG=1" }
  15. package.config["Release"].buildoptions = { "-O2 -s" }
  16. package.includepaths = {
  17. "/usr/include",
  18. "../../../../../",
  19. "/usr/include/vst/source/common",
  20. "/usr/include/vst",
  21. "../../src"
  22. }
  23. package.libpaths = {
  24. "../../../../../bin",
  25. "/usr/X11R6/lib/",
  26. "/usr/lib"
  27. }
  28. package.config["Debug"].links = {
  29. "freetype", "pthread", "rt", "X11", "GL", "GLU", "Xinerama", "asound", "juce_debug"
  30. }
  31. package.config["Release"].links = {
  32. "freetype", "pthread", "rt", "X11", "GL", "GLU", "Xinerama", "asound", "juce"
  33. }
  34. package.files = {
  35. matchfiles (
  36. "../../../wrapper/*.h",
  37. "../../../wrapper/*.cpp",
  38. "../../../wrapper/VST/*.cpp"
  39. ),
  40. matchrecursive (
  41. "../../src/*.h",
  42. "../../src/*.cpp"
  43. )
  44. }