Commit Graph

244 Commits

Author SHA1 Message Date
Guangwei Wang
f5e483ce95 fix android build issue 2016-06-15 13:19:41 +08:00
Martin Storsjö
d7bc4f5f03 Make sure that gtest-targets.mk gets regenerated with the right directory 2016-03-24 10:01:21 +02:00
David Chen
7112938a28 Google has deprecated using SVN. Move over to GitHub 2016-03-17 17:25:22 -07:00
Forrest Shi
21402ca419 update build script for wp8 under multi-vc version 2016-01-23 16:56:53 +08:00
Haibo Zhu
3206010a89 Generate map file for msvc build 2016-01-19 17:03:50 +08:00
huade
1d9497b7f6 update auto build script for windows 10 2016-01-08 09:38:15 +08:00
Haibo Zhu
95491a7584 Enable bitcode for iOS 9 2015-12-07 08:44:16 +08:00
pengyanhai
b5792a09f9 Generate PDB file for openh264.dll and gmpopenh264.dll 2015-11-10 20:37:17 -08:00
HaiboZhu
319552db48 Merge pull request #2160 from cisco/cj-build1
Cj build1
2015-10-26 13:58:29 +08:00
fstd
f383137fe1 Consolidate BSD build to support NetBSD and OpenBSD as well 2015-09-15 18:06:16 +02:00
Martin Storsjö
7c739795b7 Make astyle convert tabs to spaces
Previously astyle only changed tabs to spaces if they were used for
indentation, but tabs in the middle of lines were left untouched.
2015-07-14 10:03:40 +03:00
Martin Storsjö
4c8347aa22 Don't concatenate $@ to AR_OPTS
The MSVC version of AR_OPTS already contains $@, in a very specific
way.

This fixes MSVC builds after c8bed8a9.
2015-06-26 14:09:00 +03:00
deadNightTiger
c8bed8a9bd Move -D flag for ar to platform-linux.mk 2015-06-25 14:25:28 +04:00
Ghislain MARY
9d1ff982a7 Use -fo option instead of /fo. 2015-06-01 09:54:42 +02:00
Ghislain MARY
93a5597c11 More fixes for out-of-tree build:
- Generate version header in the build tree
 - Generate .res file in the build tree on Windows
 - Add the $(SRC_PATH) prefix to the .def files on Windows
2015-05-29 14:57:07 +02:00
Martin Storsjö
652ee84e0d Enable -Wc++11-compat-reserved-user-defined-literal when building with clang on linux
This allows catching issues that causes the build to fail on MSVC 2015 RC,
without having to include such a configuration in travis.
2015-05-13 14:53:00 +03:00
Martin Storsjö
b2f1cbaae9 Add a separate platform makefile for "msvc-app"
This is for building code in the "app" mode (for Windows
Store apps/RT/metro/modern UI/appcontainer), which restricts API
usage and uses the Windows Runtime APIs for threading instead of the
old Win32 functions that aren't available for such apps.

This is similar to building for Windows Phone, but without the phone
specific libraries.

The common parts are abstracted to a common include makefile, that
both the targets "msvc-app" and "msvc-wp" use.
2015-05-11 23:30:46 +03:00
Martin Storsjö
b3342fa11a Add spaces around an assignment to match the surrounding style 2015-05-08 14:19:06 +03:00
huade
67723a5122 fixed no-support issues due to UNICODE macro for WP8 2015-05-04 17:45:47 +08:00
Sijia Chen
486f2daf3d remove the unsupport option -nologo 2015-04-27 12:11:37 +08:00
Martin Storsjö
f077d51f7e Move the "all" make target before including any platform files
This makes sure that "all" stays as the default make target even if
platform makefiles add extra rules.
2015-04-22 09:20:31 +03:00
Martin Storsjö
33e4f14be4 Remove a stray space in a makefile rule 2015-04-22 09:18:01 +03:00
Martin Storsjö
615b0b53d1 Mention the "all" target before the extra dependencies for openh264.dll in msvc.mk
This makes sure that all components get built, not only the DLL,
if doing a plain "make OS=msvc" after 2b33c74993.
2015-04-21 09:21:31 +03:00
sijchen
15b7bc22c3 Merge pull request #1907 from mstorsjo/x86-64-arch-simplify
Use ARCH instead of ENABLE64BIT for distinguishing between x86 and x86_64
2015-04-21 09:06:33 +08:00
sijchen
dc59a7586f Merge pull request #1906 from mstorsjo/dll-res
Include the version number and other info in the built DLL file
2015-04-21 08:55:42 +08:00
Martin Storsjö
9acca331c0 Remove unnecessary setting of ENABLE64BIT
The ARCH variable already indicates everything here.
2015-04-20 12:25:20 +03:00
Martin Storsjö
24f8f2138a Use ARCH instead of ENABLE64BIT for distinguishing between x86 and x86_64
Keep support for the ENABLE64BIT flag (as a flag for choosing between
32 and 64 bit, if the current arch happens to be x86) but avoid using
it in code that wants to know the exact architecture used.

This makes the platform build files more straightforward and
consistent.
2015-04-20 12:22:46 +03:00
Martin Storsjö
2b33c74993 Include the version number and other info in the built DLL file 2015-04-20 12:08:52 +03:00
Martin Storsjö
e5439b4533 Output MSVC autobuild files into bin/arch/config instead of into bin/arch-config-asm
This is the same dirs as used as output dir by the msvc project files.
This makes sure that the project files can pick up the output files
directly instead of having to manually copy them around.
2015-04-20 09:37:22 +03:00
Martin Storsjö
dc661a6139 Fix a typo in the MSVC autobuild script
This typo made it fail to copy ut.dll when building for windows
phone.
2015-04-20 09:33:17 +03:00
Martin Storsjö
f619c16840 Hook up the x86_32-only assembly as well
This makes sure the code is at least somewhat tested. Ideally those
assembly functions should be upgraded to work in 64 bit mode as well,
but until then it's better to actually use them in the configurations
where they can be built.
2015-04-17 13:00:46 +03:00
huade
f092b2a478 add ut demo for wp8 2015-04-17 14:10:12 +08:00
huade
ea4f7f1b89 enhance auto script for both windows phone and win32/win64 under VC9.0/VC10./VC11.0/VC/12.0 2015-04-16 17:03:55 +08:00
huade
8abe601d33 add Codec demo and auto build script for WP8 2015-04-07 09:55:37 +08:00
Martin Storsjö
52808550d8 Fix building DLLs for Windows Phone with MSVC 2013 2015-03-13 13:04:04 +02:00
Martin Storsjö
5a78735802 Force armv7/neon within the arm assembly header file
This avoids having to add extra compiler flags to be able to build
them.
2015-02-02 00:53:39 +02:00
Martin Storsjö
ef82e18d74 Silence warnings about insecure CRT functions in the test suite
There is no problem in using the "insecure" CRT functions, as long as
they are used correctly - especially not within the test suite where
they are only are exposed to the test suite input data.

Within the library, these are used via the library internal wrappers
in codec/common/src/crt_util_safe_x.cpp, but we'd rather not use them
in the test suite - just use the normal standard C functions here.
2015-01-16 13:38:06 +02:00
Martin Storsjö
cd55201600 Ignore armasm warnings about instructions that are deprecated in ARMv8
This disables armasm warning A4509, "This form of conditional
instruction is deprecated".

The conditional instructions (such as movcs, addcs, subscs)
have been deprecated in ARMv8, in favor of conditional branches.
This isn't something that we need to take immediate action about,
though, therefore silence the warning.
2015-01-16 13:36:35 +02:00
Sijia Chen
560a33a373 fix to avoid link warning 2015-01-14 18:02:24 +08:00
Sijia Chen
4f826f2e94 add option for generating pdb in windows builds 2015-01-14 16:31:48 +08:00
Martin Storsjö
93621d6d9a Include -lstdc++ under Libs.private in the pkg-config file
This allows linking statically to the library, by passing --static
to pkg-config.
2015-01-02 21:54:21 +02:00
Martin Storsjö
3d263d1087 Set a default SHAREDLIB_DIR in the main Makefile
Only override it in the ones where the default isn't desired.
2014-12-01 15:44:27 +02:00
Martin Storsjö
e132658346 Set SHAREDLIB_DIR for msvc as well 2014-12-01 15:44:27 +02:00
Martin Storsjö
8e419e41d3 Simplify setting the shlib flags for msvc 2014-12-01 15:40:25 +02:00
Martin Storsjö
a7d8142a44 Set the right SHAREDLIBSUFFIXVER for msvc 2014-12-01 15:40:25 +02:00
Martin Storsjö
397e20b0f3 Install the import library via the EXTRA_LIB mechanism on mingw as well
Prior to 3f69873c99, there already was a mechanism for installing
the import library, used for the MSVC builds. Use that for mingw
as well, instead of adding more hardcoded rules.
2014-12-01 15:40:25 +02:00
Cullen Jennings
f9bfb31fd2 Update Dockerfile
Junk the hash of .a file
2014-11-29 15:48:23 -07:00
Cullen Jennings
9baaaa2a64 fix line continution problem 2014-11-29 11:40:18 -07:00
Cullen Jennings
df07fa8adc Test dockerfile to see if we get consistent builds 2014-11-27 15:45:52 -07:00
Nirbheek Chauhan
3f69873c99 Makefile: Fix shared library building on various OSes
Versioned for OS not in (Windows, Android), and create a .dll.a implib on Windows
2014-11-27 02:04:06 +05:30