Commit Graph

154 Commits

Author SHA1 Message Date
Reijo Tomperi 73e746cfd8 Change Makefile to allow another external library to be used instead of bundled one.
E.g. make TINYXML="-ltinyxml" can be used to compile with libtinyxml-dev instead of
externals/tinyxml (but won't compile yet, because of #include "tinyxml/tinyxml.h" in the code).
2011-02-09 01:06:51 +02:00
Kimmo Varis 3fc0d0f03e Run dmake to update Makefile. 2011-02-02 14:36:45 +02:00
Kimmo Varis 800d8d1e05 Cleanup makefile a bit.
Align object file lists first line. Remove excessive use of tabs.
2011-01-31 09:18:35 +02:00
Daniel Marjamäki 07e097561c dmake and Makefile updates 2011-01-21 20:51:01 +01:00
Kimmo Varis b8b2e3fae9 Move filelister* to cli.
Ticket #2445 (Move FileLister classes from LIB to CLI).
2011-01-18 19:58:49 +02:00
Reijo Tomperi 226b605774 Change year 2010 -> 2011 in license texts. 2011-01-09 21:33:36 +02:00
Daniel Marjamäki a9aa6375b7 gcc: disabled -Wconversion again - too many warnings 2011-01-01 09:16:31 +01:00
Daniel Marjamäki eb59bd5fd6 Added -Wconversion compiler flag. The ASSERT_EQUALS_DOUBLE was added that can be used when comparing double values. 2010-12-30 22:56:53 +01:00
Peter Pentchev 121cb043a7 Makefile: honor the C preprocessor flags in CPPFLAGS. Ticket: #2254 2010-12-26 18:12:14 +01:00
Kimmo Varis 4ebdbec621 Update dmake to use basepath in lib.pri. 2010-12-18 17:11:19 +02:00
Ettl Martin 7d1b2254d3 fixed mistake from previous commit. changes path from test/tinyxml to external/tinyxml; Thanks to kimmov. 2010-12-13 14:47:53 +01:00
Ettl Martin 515b4cce1c dmake: added test/tinyxml path to make clean 2010-12-13 13:44:40 +01:00
Daniel Marjamäki 48241c81f8 dmake: add include path '../externals' to lib.pri in case the pcre.h is placed there. 2010-12-12 17:26:13 +01:00
Daniel Marjamäki 2d3865a671 Add support for user defined rules 2010-12-12 11:56:22 +01:00
Daniel Marjamäki 81cac166d6 FileLister: minor cleanup 2010-11-09 19:11:43 +01:00
Lauri Nurmi 91e66e74d0 Fixed #2099 (Show an error if none of the given paths was found) 2010-10-22 17:09:50 +02:00
Pete Johns 4f0cda235a Added tags file for faster code navigation.
[Helpful for newbies like me]
2010-10-12 23:08:34 +11:00
Pete Johns 97a68bdcee Added `check` target.
Runs the test as per `make test`, but with less verbosity.

    -g GCC-style errors
    -q quiet tests
2010-09-26 13:29:23 +10:00
Reijo Tomperi 8a7989c824 Makefile improvements related to clean, dmake and man targets. 2010-09-22 21:25:27 +03:00
Pete Johns 4934cfa622 Wrapped variables in conditions
This allows CXX and CXXFLAGS to be overridden without patching. Added PREFIX for MacPorts compatibility, allowing staging to $(DESTDIR)$(PREFIX)/bin, leaving original behaviour unchanged.

Exit early if run in incorrect directory or if Makefile cannot be written.
2010-09-20 21:16:09 +10:00
Kimmo Varis ed656e02e4 Fix compiling tests in Linux.
For Linux I needed to add cmdlineparser object file to test target
linking definitions in dmake.
2010-09-06 22:45:29 +03:00
Daniel Marjamäki f476cc12f8 Disabled the -Wconversion. There are too many compiler warnings currently when using it. 2010-08-15 08:58:27 +02:00
Daniel Marjamäki 5e1168fc5c dmake: removed _GLIBCXX_DEBUG because it doesn't work in cygwin. added -Wconversion 2010-08-13 21:31:04 +02:00
Daniel Marjamäki adc47f1820 Fixed #1487 (fix gcc compiler warnings) 2010-08-06 21:02:43 +02:00
Daniel Marjamäki 1a5a1002b6 updated dmake. updated Makefile (includes cleanup). 2010-07-27 15:25:03 +02:00
Reijo Tomperi 0c61454b3f Added test case deadlock_with_many_errors() for ticket #1650
http://sourceforge.net/apps/trac/cppcheck/ticket/1650
The test case is currently commented out, because it would cause tests to hang also.
2010-06-18 00:42:01 +03:00
Daniel Marjamäki 8504863636 dmake: updated compiler flags in release mode. only -Wall. 2010-05-08 12:57:44 +02:00
Daniel Marjamäki c718a7c595 astyle: Update to astyle 1.24 2010-04-15 20:08:51 +02:00
Reijo Tomperi 35d2a27b9c Update copyright year in all source files 2010-04-13 22:23:17 +03:00
Reijo Tomperi eb79e5f918 Enable -Wshadow in Makefile 2010-04-11 14:57:03 +03:00
Daniel Marjamäki 0cad22314e Reverted 'astyle fix'. Those changes are not in sync with my astyle configuration/setup. 2010-04-02 07:30:58 +02:00
Martin Ettl 193aa7d1d3 astyle fix 2010-04-02 02:21:53 +02:00
Daniel Marjamäki 9e393fd92e Makefile: Added flag -Wno-long-long compiler flag to suppress warnings about long long 2010-03-31 21:47:51 +02:00
Daniel Marjamäki f7662b094d astyle formatting 2010-03-13 08:05:07 +01:00
Daniel Marjamäki 48a63e4c35 gcc: removed -Wlogical-op that is not supported by old GCC 2010-03-13 08:03:30 +01:00
Kimmo Varis 66448b41ac Restore and fix tools Makefile. Fix include lines. 2010-03-11 22:55:31 +02:00
Kimmo Varis b746e9d4be Fix dmake for Windows. 2010-03-11 22:30:06 +02:00
Kimmo Varis a7996ab252 Fix compiling in Linux. Fix compiling dmake. 2010-03-11 22:15:15 +02:00
Daniel Marjamäki 2c210b8ff9 dmake,qmake: temporarily removed -Wsign-conversion 2010-03-09 11:10:34 +01:00
Daniel Marjamäki 2ba3f59fc8 dmake, qmake: more sensitive compiler and runtime 2010-03-09 08:24:52 +01:00
Daniel Marjamäki cffe20a440 dmake: debug/release mode, more gcc warnings 2010-03-09 08:10:05 +01:00
Kimmo Varis 5b2c6129df Add VS project file for building dmake. 2010-03-04 21:09:37 +02:00
Reijo Tomperi 01c5bdfc68 Add TODO test case for #1452 (Simplify goto better)
http://sourceforge.net/apps/trac/cppcheck/ticket/1452
2010-02-24 22:55:16 +02:00
Daniel Marjamäki 5254822bed dmake: generate the lib/lib.pri file 2010-02-23 21:27:01 +01:00
Daniel Marjamäki 209024adcb tools/Makefile: fixed so the dmake can be built 2010-02-23 18:43:10 +01:00
Daniel Marjamäki 56e67d38ff Readded man/install to the Makefile 2010-02-23 18:37:46 +01:00
Daniel Marjamäki 2befb74a07 astyle formatting 2010-02-20 09:14:15 +01:00
Daniel Marjamäki a9bd7296b7 dmake: simplified a little 2010-02-19 17:35:38 +01:00
Daniel Marjamäki 744c385097 Revert "removed tools/dmake and Makefile. Please use cmake from now on."
This reverts commit cfacd5fe10.
2010-01-23 09:54:51 +01:00
Daniel Marjamäki cfacd5fe10 removed tools/dmake and Makefile. Please use cmake from now on. 2010-01-22 20:57:30 +01:00