Commit graph

194 commits

Author SHA1 Message Date
Axel Isouard
5281a34c37
Enable BUILD_TESTS flag, check if we want to build a static library 2017-02-06 20:31:50 +01:00
Axel Isouard
11819b2917
README.md: Rewrite compatibility table, fix CMake version, add BUILD_SHARED_LIB option 2017-02-06 20:14:35 +01:00
Axel Isouard
dfaeab6dfa
Rewrite OS detection code properly 2017-02-06 20:10:33 +01:00
Axel Isouard
9743793fdb
Let the developer specify their own path to pkg-config files 2017-02-06 20:02:57 +01:00
Axel Isouard
c8042df583
Enable threading libraries inside the CMake Use file 2017-02-06 20:01:33 +01:00
Axel Isouard
7e7fa0d7d4
Add extra required libraries for Windows, prepend the list with webrtc 2017-02-06 19:32:18 +01:00
Axel Isouard
b334e9098a
Move target OS and CPU detection code to a separate CMake module 2017-02-06 19:22:15 +01:00
Axel Isouard
282570038c
Move options code to a separate CMake module 2017-02-06 19:13:57 +01:00
Axel Isouard
5337697608
Move version settings code to a separate CMake module 2017-02-06 19:12:00 +01:00
Axel Isouard
82cedb40a9
Move libraries finding code to a separate CMake module 2017-02-06 19:08:52 +01:00
Axel Isouard
6d5a20ee0a
Remove old CMake modules 2017-02-06 19:04:54 +01:00
Axel Isouard
c5c86b729b
Set the minimum CMake version to 3.3, closes #16 2017-02-05 19:17:38 +01:00
Axel Isouard
e994c40b0d
README.md: State x86 support under Windows 2017-02-05 18:35:42 +01:00
Axel Isouard
1b11dcc9c3
Generate and install pkg-config file, closes #3 2017-02-05 18:29:26 +01:00
Axel Isouard
f381807566 Write a better host CPU arch detection 2017-02-05 09:07:10 -08:00
Axel Isouard
a702d36f56 Merge pull request #21 from gitter-badger/gitter-badge
Add a Gitter chat badge to README.md
2017-02-05 07:21:51 -08:00
Axel Isouard
fc4badad3d
is_debug value depends of the CMAKE_BUILD_TYPE variable 2017-02-05 16:01:59 +01:00
Axel Isouard
9bf16c0940
README.md: Remove BUILD_SAMPLES, update Usage, compiling instructions, mention generated CMake scripts 2017-02-05 06:37:10 -08:00
Axel Isouard
ea0b0de53b
Add GClientConfig cmake module 2017-02-05 06:34:33 -08:00
Axel Isouard
c3285ca001
Create uninstall target 2017-02-05 06:34:05 -08:00
Axel Isouard
e2877a8598
Generate Prefix file at LibWebRTCCommand module inclusion 2017-02-05 06:33:48 -08:00
Axel Isouard
c314b374df
Don't generate a libwebrtc.h file anymore, export CMake targets 2017-02-05 06:33:19 -08:00
Axel Isouard
92307e4367
Simpler variable names, get CMake's object extension, include .o files under Windows 2017-02-05 06:32:38 -08:00
Axel Isouard
f634b8ec10
Flags and module path definition not needed anymore 2017-02-05 06:30:13 -08:00
Axel Isouard
7c4895a6fd
Define BUILD_SHARED_LIBS flag, which will define LIBRARY_TYPE variable 2017-02-05 06:28:20 -08:00
Axel Isouard
fc819a24b6
Build root not needed anymore, just define webrtc as the library's name, export the package 2017-02-05 06:27:08 -08:00
Axel Isouard
5ccda05d8c
Set better install paths for lib, include and cmake components 2017-02-05 06:26:26 -08:00
Axel Isouard
95384c655e
Move Targets/WebRTC/CMakeLists.txt to Targets/CMakeLists.txt 2017-02-05 06:25:55 -08:00
Axel Isouard
62f3b7d5a1
Move the package and install scripts into the Install module 2017-02-05 06:25:13 -08:00
Axel Isouard
59375cab38
Do not build the samples since they are not included anymore 2017-02-05 06:20:50 -08:00
Axel Isouard
2617dd15d7
Use CMake 3.0 for now, refactor the header 2017-02-05 06:16:50 -08:00
Axel Isouard
bb1b53a49e
Force 2.7 version for Python, look for it inside the detected depot_tools path 2017-02-05 06:15:21 -08:00
Axel Isouard
29b4333904
Enhance FindDepotTools.cmake, include it before looking for Python 2017-02-05 06:14:42 -08:00
Axel Isouard
704267abcb
Set the project's version and targets inside the main CMakeLists.txt file 2017-02-05 06:13:21 -08:00
Axel Isouard
0607a2bd6f
Lower required CMake version for libwebrtc 2017-02-05 06:04:25 -08:00
Axel Isouard
f57ddc50c0
Update package.json, remove useless parameters 2017-02-05 06:02:56 -08:00
Axel Isouard
0bfeb679e9
Set default configurations, only keep Debug and Release for the moment 2017-02-05 06:00:52 -08:00
Axel Isouard
a179540e7e
Create Config, ConfigVersion and Use CMake files
Signed-off-by: Axel Isouard <axel@isouard.fr>
2017-02-05 06:00:08 -08:00
Axel Isouard
aa4bca5f44
Ignore cmake-build-debug caused by CLion 2017-02-05 05:57:28 -08:00
Axel Isouard
598a7f2c15 Update README.md 2017-02-05 14:36:12 +01:00
The Gitter Badger
aaa4bf41c5 Add Gitter badge 2017-02-05 13:33:43 +00:00
Axel Isouard
a21997f2ef
README: Add instructions for using the FindLibWebRTC.cmake module 2017-01-29 18:26:04 +01:00
Axel Isouard
a15061d9d4
Write basic FindLibWebRTC.cmake file 2017-01-29 18:25:47 +01:00
Axel Isouard
fdbbed3bb2
Add Apache 2.0 License 2017-01-29 15:30:53 +01:00
Axel Isouard
9685d1e09e
Prefix include dir with libwebrtc, install libwebrtc.h header file 2017-01-29 13:01:04 +01:00
Axel Isouard
548218994d
Write the prefix file once 2017-01-29 12:59:37 +01:00
Axel Isouard
67d2b0bd4e
Generate libwebrtc.h file, move version definitions inside a CMake module 2017-01-29 10:59:31 +01:00
Axel Isouard
173d9150eb
README: Add OS X prerequisites 2017-01-29 09:32:30 +01:00
Axel Isouard
abb19d5e3b
Add LICENSE file, mention it inside the README.md file 2017-01-28 22:55:09 +01:00
Axel Isouard
a5ee207afe
CMake: Write the correct architecture on the package filename 2017-01-28 17:00:29 +01:00