Martin Storsjö
80067dbb09
Include the executable extension in the test rule dependency
...
This fixes "make test" on platforms that have an executable
extension.
2014-01-24 10:53:27 +02:00
Martin Storsjö
18a4354b6e
Make BUILDTYPE=Release the default if no make parameters are specified
...
This probably simplifies the default case for most users of the
library, and reduces the risk of people accidentally trying to use
an unoptimized build.
2014-01-23 15:04:38 +02:00
Varun B Patil
32b3b72e9f
Cleanup include dir list in Makefile
2014-01-19 20:30:31 +05:30
Martin Storsjö
b38976944a
Regenerate gtest-targets.mk using mktargets.sh/py
...
This simplifies updating all makefiles consistently.
2014-01-17 18:53:17 +02:00
Ethan Hugg
16099cfd32
Merge pull request #154 from mstorsjo/no-recursive-make
...
Don't call make recursively to build codec_unittest
2014-01-17 08:49:56 -08:00
Martin Storsjö
46e6bb5c67
Allow overriding the cflags for debug/optimization and for 32/64 bit
2014-01-17 12:06:12 +02:00
Martin Storsjö
09585cf65a
Allow overriding the command syntax for linking libraries
2014-01-17 12:06:11 +02:00
Martin Storsjö
b842ff30e5
Make the compiler/ar/linker file output parameters overrideable
...
This is in preparation for allowing building using MSVC via
makefiles.
2014-01-17 12:06:11 +02:00
Martin Storsjö
c0fcb8f90f
Don't call make recursively to build codec_unittest
2014-01-17 11:05:33 +02:00
Varun B Patil
e7be3a0afa
Makefile modifications for test target
...
On fresh clone of repo, "make test" used to give,
"make: *** No rule to make target `codec_unittest', needed by `test'. Stop."
because gtest was not available. This message is not very helpful. Instead printing
that gtest is not available and the command to run to obtain gtest.
2014-01-13 11:03:02 +05:30
Ethan Hugg
2c9f19474a
Merge pull request #132 from mstorsjo/mingw64
...
Add support for building on 64 bit mingw
2014-01-10 14:21:33 -08:00
Martin Storsjö
ba38dc77a5
Add support for 64 bit mingw in the makefiles
...
By setting an overridable variable in the main makefile, we avoid
having to move the default -DUNIX64 into each of the other unix
platform makefiles, but still allowing the mingw platform to
override it.
2014-01-10 19:01:22 +02:00
Martin Storsjö
104494475e
Remove the HAVE_CACHE_LINE_ALIGN, ENCODER_CORE and WELS_SVC defines from makefiles
...
Neither of them are used anywhere any longer.
2014-01-10 15:33:09 +02:00
Ethan Hugg
792060c388
Merge pull request #127 from ekr/asan
...
Asan
2014-01-09 10:49:52 -08:00
EKR
e1772654b5
Add ASan support
2014-01-09 10:25:15 -08:00
Martin Storsjö
86c0f178ef
Add a dependency on the unittest in the "make test" rule
...
This makes sure "make test" succeeds without building anything
beforehand.
2014-01-09 15:10:27 +02:00
Martin Storsjö
a89513c073
Add dependencies on the encoder libraries to the unit tests
...
This makes sure a "make codec_unittest" succeeds without any
prior make invocation. The usage of the encoder libraries in
the unit test was added in 6f58a0c1
.
2014-01-09 15:10:27 +02:00
jwwang
6f58a0c1f7
Add encoder test
2014-01-08 19:12:02 -08:00
jwwang
cb0053f860
Add decoder test
2014-01-08 19:11:23 -08:00
Martin Storsjö
488fb7bb20
Add proper dependencies for the command line binaries
...
This makes sure that all the dependency libs are built before trying
to link them together, fixing parallel make (which occasionally
failed due to trying to link the encoder or decoder command line
binaries before the libs had been built) and also fixes building an
individual component by e.g. "make h264enc".
2014-01-08 16:36:11 +02:00
volvet
ec84f4bcc9
resolve conflict
2014-01-03 14:49:45 +08:00
V
47e8134b92
Remove extra [:digit:] from tr command
2013-12-23 21:42:34 +01:00
V
7fa09903cf
Add MinGW platform makefile and related source changes
2013-12-23 21:42:31 +01:00
Licai Guo
ac6828f4fa
Enable 64-bit build on Linux & Mac
2013-12-14 20:37:33 -08:00
Ethan Hugg
3550319a96
Add make test to Travis
2013-12-13 13:09:59 -08:00
Martin Storsjö
17f9c22a3e
Include the platform makefile before adding defines for x86 asm
...
This fixes building with BUILDTYPE=Release on OS X.
2013-12-13 13:52:00 +02:00
EKR
e7795c8dc6
Fix gtest detection
2013-12-12 13:12:20 +08:00
EKR
8bb8276967
Make gtest support conditional
2013-12-12 12:24:55 +08:00
EKR
fb429bbf67
Add gtest support
2013-12-12 10:56:52 +08:00
Ethan Hugg
2ca14fed1c
Rebase of EKR's patches for tracing and frame size
2013-12-11 06:51:26 -08:00
EKR
cf92e8d620
Add support for assembly on linux as well as multiple configs
2013-12-10 18:57:32 +08:00
EKR
2edc251ded
First cut at new build system. Tested on Mac
2013-12-10 16:19:42 +08:00