Commit graph

585 commits

Author SHA1 Message Date
David Tardon
ad773c4cc3 gbuildize slideshow 2011-04-21 20:50:28 +02:00
Bjoern Michaelsen
9b15ef7581 enable CHECKOBJECTOWNER by default now, warn instead of error 2011-04-21 18:30:43 +02:00
Petr Mladek
12cbe77bed fix build with older gcc that does not read options via @file
needed to fix build on SLED10 with gcc-4.1.2
we want to use @$(extraobjectlist) in the long run
2011-04-19 17:35:40 +02:00
Caolán McNamara
c0c30966c5 seem to need shlwapi here too 2011-04-18 20:01:07 +01:00
Caolán McNamara
d9ce9150c4 bubble down configure test findings on visibility 2011-04-18 20:01:07 +01:00
Robert Nagy
a7c5fac228 sync with unxgcc.mk 2011-04-18 19:36:55 +02:00
Norbert Thiebaud
9b44ffb5fc gcc-4.0 on MacOSX does not support the @file syntax 2011-04-17 13:20:34 -05:00
David Tardon
9c778f8527 add support for resource templates
That is, resource files containing localizable data that are included
from other resource files. They have filenames like foo_tmpl.hrc
(sometimes foo_tmpl.src) and are included as foo.hrc . They were handled
by listing them in LOCALIZE_ME variable in the old build system.
2011-04-17 19:06:09 +02:00
Bjoern Michaelsen
3d2cc7b5da provide a rule for explicit deps 2011-04-16 20:52:32 +02:00
Bjoern Michaelsen
3b88453baf add gb_CppunitTest_uses_ure for unittests using URE 2011-04-16 20:52:32 +02:00
Bjoern Michaelsen
5105f2598b gb_CHECKOBJECTOWNER=T allows to check for objects linked multiple times 2011-04-16 14:25:37 +02:00
Bjoern Michaelsen
6b80623e80 gbuild support for final extensions 2011-04-16 14:17:59 +02:00
David Tardon
f6323fb886 define gb_LinkTarget_add_generated_cxxobjects 2011-04-14 16:16:08 +02:00
Luboš Luňák
6efe9918d3 add -Wl,-O1 as linker optimization flags when debug is disabled 2011-04-14 15:06:31 +02:00
Francois Tigeot
08d49db2aa Remove CVER.
It is no longer used.
2011-04-14 13:41:19 +02:00
Caolán McNamara
1090e9dbca move this in here so that on windows we convert paths to win format 2011-04-13 20:35:07 +01:00
Luboš Luňák
57ec5069ec switch -ggdb3 to -ggdb2 to significantly reduce binaries sizes
http://lists.freedesktop.org/archives/libreoffice/2011-April/010408.html
2011-04-13 14:02:07 +02:00
Julien Nabet
6811d994ec fno-default-inline removed for CFLAGS since it's valid only for C++ 2011-04-12 22:36:15 +02:00
Luboš Luňák
19c922f1d2 $(WITH_LINKER_HASH_STYLE) also for gbuild 2011-04-11 17:01:23 +02:00
Bjoern Michaelsen
0814799090 remove debug output 2011-04-11 12:32:48 +02:00
Bjoern Michaelsen
3db91b7f80 set STAR_RESOURCEPATH for cppunit tests to find resources from solver 2011-04-11 12:32:48 +02:00
Bjoern Michaelsen
ac3f888b4c add support for auxiliary arguments to the cppunit tests 2011-04-11 12:25:04 +02:00
Caolán McNamara
b9bc97d455 allow setting DEBUGCPPUNIT=TRUE to dump a gdb try/catch trace 2011-04-07 11:37:56 +01:00
David Tardon
9da441f0c4 remove duplicate code
This was introduced by commit 3726b1a63e0783953fee9c65d8c0cee3fd6cf85b .
2011-04-06 12:47:49 +02:00
David Tardon
0d75184488 $(1) is not defined here 2011-04-06 12:07:40 +02:00
David Tardon
937aae1b27 use just order-only dep. on cppunittester 2011-04-06 12:07:39 +02:00
Caolán McNamara
84568d73b8 fix build 2011-04-05 14:45:17 +01:00
David Tardon
4620f155b5 do not define NDEBUG on debug level 1 2011-04-05 14:32:28 +02:00
David Tardon
8542a0d05d fix typo 2011-04-05 14:32:28 +02:00
David Tardon
31979fa2c5 update the dbglevel comment 2011-04-05 14:32:27 +02:00
Bjoern Michaelsen
7a5e0f474f fixing up extra object list support 2011-04-05 11:51:04 +02:00
Bjoern Michaelsen
2f3793391e make get_linktargetname public again so unittests can find the object lists 2011-04-05 11:51:04 +02:00
David Tardon
7cc69243e7 fix typo 2011-04-05 08:56:36 +02:00
Norbert Thiebaud
98553de136 add the ability to imports objects directly into a CppUnitTest Link
some cppunit test need to link directly with the object of the module
they are meant to test, due to the fact that the API they use/test
are not necessarily exported in the public interface of the
module's dynamic library.

This patch add the mean to export the list of objects used in the link of
specific target library, and a mean to import these into the link of
a cppunit.

Only unxgcc.mk has been modified so far to support the later

This is not intended to be use to import objects accross module boundaries
2011-04-04 09:17:24 -05:00
Caolán McNamara
fa502cf881 restore c++0x flags 2011-04-04 10:28:38 +01:00
Robert Nagy
65be428ea6 rework how pthread is handled on openbsd
- remove -pthread from PTHREAD_CFLAGS
- add pthread to gb_STDLIBS
- redefine gb_LinkTarget__command_dynamiclink so that we can
  substitute -lpthread with -pthread in the list of libraries
  that we link to
2011-04-04 00:28:18 +02:00
Robert Nagy
f0bfd04f72 merge the bsd platform makefiles into one per platform 2011-04-03 23:51:23 +02:00
Robert Nagy
bc42d93482 add -Wl,--sysroot=$(SYSBASE) to gb_LinkTarget_LDFLAGS only if SYSBASE is !nil 2011-04-03 22:15:59 +02:00
Bjoern Michaelsen
a59e57ab2c skip Junit test, when no Junit available 2011-04-01 13:49:12 +02:00
Jan Holesovsky
3ffc8fb3f3 Build with no optimizations already with dbglevel == 1.
Based on talk with David Tardod, the dbglevels are supposed to be:

0 - product
1 - debug
2 - advanced debug (with additional code)
2011-03-30 10:58:11 +02:00
David Tardon
0e3291b6ff safer way to set debug level 2011-03-30 07:23:51 +02:00
David Tardon
5bb42850c2 Revert "Default to debuglevel 2 when building with debug=true (using gnu make)."
This reverts commit 8fe706327e09764c46dc1813f5e583857fca3d05.
2011-03-30 07:21:33 +02:00
Bjoern Michaelsen
4a27caaed3 enable headless Junit tests and default to that 2011-03-29 21:04:31 +02:00
Jan Holesovsky
a38f3926ed Default to debuglevel 2 when building with debug=true (using gnu make). 2011-03-29 15:43:56 +02:00
Bjoern Michaelsen
d357546ffd added gbuild help message 2011-03-28 12:06:38 +02:00
Caolán McNamara
d0d678b46a overloaded-virtual is a c++ option not a c one 2011-03-28 10:28:31 +01:00
Bjoern Michaelsen
fb40f4ede7 handle empty JavaClassSets gracefully 2011-03-28 02:28:01 +02:00
Bjoern Michaelsen
b90f400d46 do not depend on an uptodate build for subsequentcheck for now 2011-03-28 02:27:12 +02:00
Bjoern Michaelsen
9f2d6d63ee no sneaky JAVACOMPILER/JAVAINTERPRETER defaults
* we want no sneaky default values for JAVACOMPILER/JAVAINTERPRETER, we have ./configure
2011-03-27 12:43:42 +02:00
Bjoern Michaelsen
0acd9982c0 adding a comment documenting Module.mk 2011-03-27 12:27:05 +02:00