Palana
a14d003955
Expose BUILD_TESTS as (advanced) CMake option
...
This makes it easier to set BUILD_TESTS (introduced in
87ea0392b4
) from ccmake/cmake-gui
2015-05-22 00:24:48 +02:00
John Bradley
87ea0392b4
Only build tests if specified by BUILD_TESTS
2015-05-12 11:40:09 -05:00
jp9000
ee31962b85
Add CMake module to parse IDL files on Windows
2015-03-21 16:34:46 -07:00
jp9000
f9d4a957c1
Disable -Wmissing-braces
...
This warning is somewhat insignificant for most of what we do; just
warns about missing braces for sub-structures, but most of the time it
wrongly triggers on = {0}, which is a standard way of initializing a
structure to 0 in C.
2015-02-09 03:48:25 -08:00
martell
c83a95983b
cmake: set windows version to vista on mingw-w64
...
mingw-w64 defaults to xp, so when building we set it to vista because
function CancelIoEx is used in ipc-util/pipe-windows.c.
http://msdn.microsoft.com/en-us/library/windows/desktop/aa363792.aspx
2015-02-08 06:41:08 -08:00
Carl Fürstenberg
6095e7ef51
Add SOVERSION to libobs-opengl
...
Because libobs-opengl is a public library, it's customary to have SONAME
embedded in the library file. Also remove the prefix override and
remove the prefixing "lib" from the output name. This also requires us
to pass the library file name to dlopen invocations.
2015-01-13 17:51:38 -08:00
BtbN
aeab5c35ef
Disable safeseh on 32bit builds
2014-09-16 10:37:08 +02:00
jp9000
85701b0925
Allow copying of all dependencies (windows only)
...
If the cmake user variable COPY_DEPENDENCIES is set, this script will
make it so that a windows build will automatically copy all required
dependencies (FFmpeg, x264, and Qt5) to the respective
additional_install_files\exec(32|64) directory. This makes it much
easier to set up a development environment on windows, and much easier
to make usable test builds.
It will also copy the appropriate Direct3D compiler DLL, along with
dependencies of dependencies (the icu*.dll and EGL/GLES files for Qt)
2014-07-18 22:41:22 -07:00
BtbN
415a698bac
Add support for build time dependency copying
2014-07-19 01:38:42 +02:00
BtbN
973435cb52
Move config include path, so it works for the exported target
2014-07-17 21:32:31 +02:00
BtbN
1099f8e96f
Don't build with install rpath on unix
2014-07-10 14:38:53 +02:00
BtbN
b4982a5822
Require correct cmake version everywhere
2014-06-30 18:37:09 +02:00
BtbN
65ee83b5bc
Increase warning level for MSVC
2014-06-25 10:00:28 +02:00
BtbN
ce434c2d62
Also disable missing field initializer warning for C
2014-04-13 20:57:43 +02:00
BtbN
075820028f
Improve bundle fixup
2014-04-13 11:05:46 -07:00
Timo R
55d99b3731
Define DEBUG and _DEBUG on debug build
2014-04-05 16:32:48 +02:00
BtbN
044680f0b8
Add config.h generation and wrapper header, currently only for OBS_VERSION
2014-04-01 22:11:44 +02:00
BtbN
04dfcb2dea
Disable strict-aliasing to avoid a bunch of possible problems
2014-04-01 21:37:50 +02:00
BtbN
b6983da045
Error on implicit declaration
2014-04-01 21:23:51 +02:00
jp9000
966b943d5b
Remove majority of warnings
...
There were a *lot* of warnings, managed to remove most of them.
Also, put warning flags before C_FLAGS and CXX_FLAGS, rather than after,
as -Wall -Wextra was overwriting flags that came before it.
2014-02-14 15:13:36 -07:00
BtbN
e9c22c3b8d
Move CPack win32 generator from NSIS to WIX
2014-02-02 22:38:21 +01:00
BtbN
aec9e85b59
Improve ALL_BUILD.vcxproj.user copy check
2014-01-31 04:46:17 +01:00
BtbN
8c80941530
Add support for "git describe" based version numbers.
...
Also, move cpack related code into its own module, to clean up the main CMakeLists.txt
2014-01-29 14:56:06 +01:00
BtbN
19f0a30160
Include $ORIGIN in portable mode on unix
2014-01-28 14:15:46 +01:00
BtbN
cfc3609a4e
Fix/Workaround a cmake path seperator escaping bug on Windows
2014-01-26 02:04:36 +01:00
BtbN
6a9dda87bd
Restructure installation and package generation
2014-01-25 19:13:33 +01:00
Palana
0fc7b1bbdc
Require cmake 2.8.12 on osx
...
This requirement is due to rpath usage in the project and SDK location
changes[1] in more recent osx versions
[1] i.e. http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=1fce189e
2014-01-24 23:22:34 +01:00
BtbN
45ec80fb7d
Full rewrite of all CMakeLists
...
CMake now works on all platforms
2014-01-24 18:56:32 +01:00
BtbN
8fa309c96e
Clean old cmake files
2014-01-24 01:46:36 +01:00
Palana
3c581d7fa2
update cmake compiler flags
...
- disable -Wshadow for c++ (less semi-bogus warnings for constructors)
- make gcc use c99 mode
2014-01-01 03:17:36 +01:00
Palana
683585938c
add infrastructure for app bundle target and unmark as advanced
2013-12-30 20:52:44 +01:00
Palana
c2586f5686
set cmake output path for test executable
2013-11-18 17:54:06 +01:00
Palana
ec411fe046
added cmake build files
2013-11-14 18:36:46 +01:00