Use both internal and external UIs
[juce-lv2.git] / juce / premake.lua
blob72eb987a33e0e717abf7bbaa5974d5e77cf9ea55
2 project.name = "juce"
3 project.bindir = "."
4 project.libdir = project.bindir .. "/.."
6 project.configs = { "Debug", "Release" }
8 package = newpackage()
9 package.name = project.name
10 package.target = project.name
11 package.language = "c++"
13 package.objdir = project.bindir .. "/intermediate"
14 package.includepaths = { "/usr/include", "/usr/include/freetype2" }
15 package.libpaths = { "/usr/X11R6/lib/" }
16 package.links = { "freetype", "pthread", "rt", "X11" }
17 package.linkflags = { "static-runtime" }
19 package.config["Release"].target = project.name
20 package.config["Release"].objdir = package.objdir .. "/" .. project.name .. "_Release"
21 package.config["Release"].buildoptions = { "-march=native -Os -fPIC" }
22 package.config["Release"].defines = { "LINUX=1", "NDEBUG=1", "JUCE_ALSA=0", "JUCE_USE_VSTSDK_2_4=1" }
23 package.config["Release"].kind = "lib"
25 package.config["Debug"].target = project.name .. "_debug"
26 package.config["Debug"].objdir = package.objdir .. "/" .. project.name .. "_Debug"
27 package.config["Debug"].buildoptions = { "-march=native -ggdb -O0 -fPIC" }
28 package.config["Debug"].defines = { "LINUX=1", "DEBUG=1", "_DEBUG=1", "JUCE_ALSA=0", "JUCE_USE_VSTSDK_2_4=1" }
29 package.config["Debug"].kind = "lib"
31 package.files = {
32 matchfiles (
33 "source/src/application/*.cpp",
34 "source/src/audio/*.cpp",
35 "source/src/audio/audio_file_formats/*.cpp",
36 "source/src/audio/audio_sources/*.cpp",
37 "source/src/audio/devices/*.cpp",
38 "source/src/audio/dsp/*.cpp",
39 "source/src/audio/midi/*.cpp",
40 -- "source/src/audio/plugin_client/RTAS/*.cpp",
41 -- "source/src/audio/plugin_client/Standalone/*.cpp",
42 -- "source/src/audio/plugin_client/VST/*.cpp",
43 "source/src/audio/plugin_host/*.cpp",
44 "source/src/audio/plugin_host/formats/*.cpp",
45 "source/src/audio/processors/*.cpp",
46 "source/src/audio/synthesisers/*.cpp",
47 "source/src/containers/*.cpp",
48 "source/src/core/*.cpp",
49 "source/src/cryptography/*.cpp",
50 "source/src/events/*.cpp",
51 "source/src/gui/components/*.cpp",
52 "source/src/gui/components/buttons/*.cpp",
53 "source/src/gui/components/code_editor/*.cpp",
54 "source/src/gui/components/controls/*.cpp",
55 "source/src/gui/components/filebrowser/*.cpp",
56 "source/src/gui/components/keyboard/*.cpp",
57 "source/src/gui/components/layout/*.cpp",
58 "source/src/gui/components/lookandfeel/*.cpp",
59 "source/src/gui/components/menus/*.cpp",
60 "source/src/gui/components/mouse/*.cpp",
61 "source/src/gui/components/positioning/*.cpp",
62 "source/src/gui/components/properties/*.cpp",
63 "source/src/gui/components/special/*.cpp",
64 "source/src/gui/components/windows/*.cpp",
65 "source/src/gui/graphics/colour/*.cpp",
66 "source/src/gui/graphics/contexts/*.cpp",
67 "source/src/gui/graphics/drawables/*.cpp",
68 "source/src/gui/graphics/effects/*.cpp",
69 "source/src/gui/graphics/fonts/*.cpp",
70 "source/src/gui/graphics/geometry/*.cpp",
71 "source/src/gui/graphics/imaging/*.cpp",
72 "source/src/gui/graphics/imaging/image_file_formats/*.cpp",
73 "source/src/io/files/*.cpp",
74 "source/src/io/network/*.cpp",
75 "source/src/io/streams/*.cpp",
76 "source/src/maths/*.cpp",
77 "source/src/memory/*.cpp",
78 "source/src/native/common/*.cpp",
79 -- "source/src/native/android/*.cpp",
80 "source/src/native/linux/*.cpp",
81 -- "source/src/native/mac/*.cpp",
82 -- "source/src/native/windows/*.cpp",
83 "source/src/text/*.cpp",
84 "source/src/threads/*.cpp",
85 "source/src/utilities/*.cpp"