mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
49 lines
1.2 KiB
Lua
49 lines
1.2 KiB
Lua
|
|
project.name = "JuceDemo"
|
|
project.bindir = "build"
|
|
project.libdir = "build"
|
|
|
|
project.configs = { "Debug", "Release" }
|
|
|
|
package = newpackage()
|
|
package.name = "JuceDemo"
|
|
package.kind = "winexe"
|
|
package.language = "c++"
|
|
|
|
package.objdir = "build/intermediate"
|
|
package.config["Debug"].objdir = "build/intermediate/Debug"
|
|
package.config["Release"].objdir = "build/intermediate/Release"
|
|
|
|
package.config["Debug"].defines = { "LINUX=1", "DEBUG=1", "_DEBUG=1" };
|
|
package.config["Debug"].buildoptions = { "-D_DEBUG -ggdb" }
|
|
|
|
package.config["Release"].defines = { "LINUX=1", "NDEBUG=1" };
|
|
|
|
package.target = "jucedemo"
|
|
|
|
package.includepaths = {
|
|
"/usr/include"
|
|
}
|
|
|
|
package.libpaths = {
|
|
"/usr/X11R6/lib/",
|
|
"../../../../bin"
|
|
}
|
|
|
|
package.config["Debug"].links = {
|
|
"freetype", "pthread", "rt", "X11", "GL", "GLU", "Xinerama", "asound", "Xss", "juce_debug"
|
|
}
|
|
|
|
package.config["Release"].links = {
|
|
"freetype", "pthread", "rt", "X11", "GL", "GLU", "Xinerama", "asound", "Xss", "juce"
|
|
}
|
|
|
|
package.linkflags = { "static-runtime" }
|
|
|
|
package.files = { matchfiles (
|
|
"../../src/*.h",
|
|
"../../src/*.cpp",
|
|
"../../src/demos/*.h",
|
|
"../../src/demos/*.cpp"
|
|
)
|
|
}
|