Omit the STATIC in the add_library command, and stop
forcing static MSVC runtimes when BUILD_SHARED_LIBS
is enabled.
$ cmake path/to/libwebm -DBUILD_SHARED_LIBS=1 && cmake --build .
Change-Id: I4935c774d98f70a39363f37be4f9e8989a0749c0
A target must exist before its properties can be set. Defer
libwebm target rename on windows until after creation of the
webm library target.
Change-Id: I29c5e90f1f653a00ff156316c03b0ffd78e9a998
- Split sources from targets. Source files are stored in list variables,
and targets now use the list vars.
- Surface all build settings control in CMakeLists.txt.
- Remove individual C++11 tests in favor of requiring support
for --std=c++11.
- Improve organization; stop reopening the same if's.
Change-Id: I1989803fdfd9c032f417a5fc12985671455148bd
Rename source files and targets to better reflect what is
actually being tested.
muxer_tests => mkvmuxer_tests
parser_tests => mkvparser_tests
Change-Id: I921901f37d269f294b96ba20732b31c27f81945b
Some includes were missed in the first pass when webm_parser
was added to CMakeLists.txt. Add the missing includes from
webm_parser/include/webm.
Change-Id: I193debe8018155ff9f0ab1d1326330069333948e
Migrated from the webm-tools repository with minor tweaks to
fix its build in the new location.
Last location/revision:
https://chromium.googlesource.com/webm/webm-tools
a7e97e8f0a913ddd97444392bb8816f44a4821a1
Change-Id: Icfad43d9fdd37fc413a6a28b57b370c97c7c28df
MSVC C4996 triggers upon use of functions like fopen, and suggests
use of non-portable Microsoft replacements. Disable it project wide,
and remove the pragmas littered throughout the tree.
Change-Id: I8b890bbfd3cd7224c25350bd28f334facd8b7783
- Use .cc and .h everywhere.
- Update includes/include guards.
- Remove extra makefile targets necessitated by previous mix
of cpp/cc.
Change-Id: I7aad29152d4177937f8f42927c16c6572228c104
Move file utility classes and functions from testing/test_util to
common/file_util, and make them part of libwebm.
Change-Id: If5b25a63b20efacc16b0fecaa8876ade4ecc4b26
Parts of libwebm continue to use std::auto_ptr for support of older
compilers and target systems. Silence the warnings its use causes.
Change-Id: Iac8f35c9fdaaeb1cbb637d0777b46cdad54843ed
Move the Colour element utility functions out of sample_muxer and
into a place where they can be utilized by libwebm users.
Change-Id: I7e2bfd02d6f4aa4f26fb0d0a697cb68e20698655
Fix the build and tidy up a couple things along the way.
- Add -std=c++11 to CMakeLists.txt CXX flags.
- Add missing include to libwebm_utils.h (<memory>).
- Setup CMAKE_CXX_FLAGS properly (allow user override).
- Add missing URL for gtest repo to README.libwebm.
BUG=https://bugs.chromium.org/p/webm/issues/detail?id=1136
Change-Id: I894729216737ff92f58a7b7601484ba8fba73b25
- Move class declarations to webm2pes.h.
- Add some visual demarcation between the method definitions for each
class in webm2pes.cc.
- Reorganize the output code to make further development simpler.
- Also, clang format noise.
Change-Id: Id6d156e1f255cefe30a62784a3eadde6b93ae614
The existing CMakeLists.txt ends up generating a static library
with name "liblibwebm.a" rather than "libwebm.a". This patch fixes
it.
Change-Id: I4dabac5158530714a38045b8af29e75ade0a939e
- These files facilitate project/makefile generation.
- Remove old Visual Studio projects.
- Rename Makefile to Makefile.unix.
Change-Id: If786edd75d44c462538526c286eccc5cbf15d828