]> git.tdb.fi Git - builder.git/blobdiff - builderrc
Add support for statically linking the C++ standard library
[builder.git] / builderrc
index 0947330418ba9eb35d829e45df795fa063bbbee5..207c2d6ab0e1e9c6444c2158840549bcde5cd7b7 100644 (file)
--- a/builderrc
+++ b/builderrc
@@ -1,89 +1,61 @@
-/* $Id$ */
+architecture "arm-linux"
+{
+       prefix "arm-linux-gnueabi";
+};
 
-binary_package "opengl"
+architecture "windows"
 {
-       build_info
-       {
-               library "GL";
-       };
+       prefix "i686-w64-mingw32";
 };
 
-binary_package "pthread"
+architecture "arm-android"
 {
-       build_info
-       {
-               library "pthread";
-       };
+       prefix "arm-linux-androideabi";
 };
 
-binary_package "gmpxx"
+build_type "debug"
 {
        build_info
        {
-               library "gmpxx";
+               debug true;
+               define "DEBUG" "1";
+               warning_level 3;
+               fatal_warnings true;
+               runtime_path_mode ABSOLUTE;
        };
 };
 
-binary_package "fmod4"
+build_type "optimized_debug"
 {
        build_info
        {
-               incpath "@/api/inc";
-               libpath "@/api/lib";
-               library "fmodex";
+               debug true;
+               define "DEBUG" "1";
+               optimize 2;
+               warning_level 3;
+               fatal_warnings true;
+               runtime_path_mode ABSOLUTE;
        };
-       need_path true;
 };
 
-binary_package "ode"
+build_type "release"
 {
        build_info
        {
-               library "ode";
+               optimize 3;
+               strip true;
+               warning_level 1;
+               runtime_path_mode RELATIVE;
        };
 };
 
-binary_package "xlib"
+build_type "static_release"
 {
        build_info
        {
-               library "X11";
+               optimize 3;
+               strip true;
+               libmode STATIC;
+               warning_level 1;
        };
 };
-
-architecture "arm"
-{
-       prefix "arm-linux-gnu";
-};
-
-architecture "win32"
-{
-       prefix "i586-mingw32msvc";
-};
-
-profile "debug"
-{
-       option "debug" "1";
-       option "outdir" "$profile";
-};
-
-profile "release"
-{
-       option "optimize" "3";
-       option "strip" "1";
-       option "outdir" "$profile";
-};
-
-profile "win32"
-{
-       option "arch" "win32";
-       option "prefix" "$HOME/local/$arch";
-       option "outdir" "$profile";
-};
-
-profile "arm"
-{
-       option "arch" "arm";
-       option "prefix" "$HOME/local/$arch";
-       option "outdir" "$profile";
-};