Cleanup, need to get non-UI stuff working first
[juce-lv2.git] / juce / premake.lua
blob819714654e61104b3fc36baf06a75783bca9537b
2 project.name = "juce"
3 project.bindir = "."
4 project.libdir = project.bindir .. "/.."
6 project.configs = { "Release", "Debug" }
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 = { matchfiles (
32 "source/src/application/*.cpp",
33 "source/src/audio/*.cpp",
34 "source/src/audio/audio_file_formats/*.cpp",
35 "source/src/audio/audio_sources/*.cpp",
36 "source/src/audio/devices/*.cpp",
37 "source/src/audio/dsp/*.cpp",
38 "source/src/audio/midi/*.cpp",
39 -- "source/src/audio/plugin_client/RTAS/*.cpp",
40 -- "source/src/audio/plugin_client/Standalone/*.cpp",
41 -- "source/src/audio/plugin_client/VST/*.cpp",
42 "source/src/audio/plugin_host/*.cpp",
43 "source/src/audio/plugin_host/formats/*.cpp",
44 "source/src/audio/processors/*.cpp",
45 "source/src/audio/synthesisers/*.cpp",
46 "source/src/containers/*.cpp",
47 "source/src/core/*.cpp",
48 "source/src/cryptography/*.cpp",
49 "source/src/events/*.cpp",
50 "source/src/gui/components/*.cpp",
51 "source/src/gui/components/buttons/*.cpp",
52 "source/src/gui/components/code_editor/*.cpp",
53 "source/src/gui/components/controls/*.cpp",
54 "source/src/gui/components/filebrowser/*.cpp",
55 "source/src/gui/components/keyboard/*.cpp",
56 "source/src/gui/components/layout/*.cpp",
57 "source/src/gui/components/lookandfeel/*.cpp",
58 "source/src/gui/components/menus/*.cpp",
59 "source/src/gui/components/mouse/*.cpp",
60 "source/src/gui/components/positioning/*.cpp",
61 "source/src/gui/components/properties/*.cpp",
62 "source/src/gui/components/special/*.cpp",
63 "source/src/gui/components/windows/*.cpp",
64 "source/src/gui/graphics/colour/*.cpp",
65 "source/src/gui/graphics/contexts/*.cpp",
66 "source/src/gui/graphics/drawables/*.cpp",
67 "source/src/gui/graphics/effects/*.cpp",
68 "source/src/gui/graphics/fonts/*.cpp",
69 "source/src/gui/graphics/geometry/*.cpp",
70 "source/src/gui/graphics/imaging/*.cpp",
71 "source/src/gui/graphics/imaging/image_file_formats/*.cpp",
72 "source/src/io/files/*.cpp",
73 "source/src/io/network/*.cpp",
74 "source/src/io/streams/*.cpp",
75 "source/src/maths/*.cpp",
76 "source/src/memory/*.cpp",
77 "source/src/native/common/*.cpp",
78 -- "source/src/native/android/*.cpp",
79 "source/src/native/linux/*.cpp",
80 -- "source/src/native/mac/*.cpp",
81 -- "source/src/native/windows/*.cpp",
82 "source/src/text/*.cpp",
83 "source/src/threads/*.cpp",
84 "source/src/utilities/*.cpp"