Commit graph

290 commits

Author SHA1 Message Date
kervala
a52df4c710 Changed: Factorized AMD/amd 2013-09-06 08:58:02 +02:00
kervala
26679e767e Changed: Allow to put a "revision" file in root directory if .hg directory is not present 2013-09-06 08:44:57 +02:00
kervala
3e4a567d6a Fixed: Don't use -fPIC and -fPIE together (this could occur in some cases) 2013-09-06 08:43:44 +02:00
StudioEtrange
f10b6613cf ** PCH Support for NMake with VS2012
NMAKE-VS2012 Error LNK2011
while NMAKE-VS2010 does not complain
we need to link the pch.obj file
see http://msdn.microsoft.com/en-us/library/3ay26wa2(v=vs.110).aspx

** PCH Support for Ninja
Ninja need to add property
        OBJECT_DEPENDS for using PCH
        OBJECT_OUTPUTS for create PCH
see http://public.kitware.com/pipermail/cmake-developers/2012-March/003653.html
2013-09-05 17:18:01 +02:00
Thibaut Girka
ea8a845ab9 Add support for LibVR
--HG--
branch : multipass-stereo
2013-08-28 08:08:22 +02:00
kaetemi
7782576dfc Merge with default
--HG--
branch : multipass-stereo
2013-09-07 16:25:45 +02:00
kervala
f680e3943d Changed: Minor formatting 2013-08-05 10:34:38 +02:00
kervala
a41ba055a5 Fixed: PCH with Qt 5 and CMake 2.8.11 2013-08-05 10:32:17 +02:00
kervala
c792c423db Fixed: X64 not detected with CMake 2.8.11 2013-08-05 10:31:23 +02:00
kaetemi
96b2df8405 Merge with default
--HG--
branch : multipass-stereo
2013-08-01 23:02:49 +02:00
kaetemi
1e9771d054 Merge with default
--HG--
branch : multipass-stereo
2013-07-25 00:37:00 +02:00
StudioEtrange
0efa7c8aee PCHSupport.cmake edited online with Bitbucket
--HG--
branch : StudioEtrange/fix-some-probleme-with-spaces-in-path-on-1374699208398
2013-07-24 21:57:52 +00:00
StudioEtrange
744267c63b Fix some probleme with spaces in path on windows
PCHSupport.cmake edited online with Bitbucket

--HG--
branch : StudioEtrange/fix-some-probleme-with-spaces-in-path-on-1374699208398
2013-07-24 20:53:33 +00:00
StudioEtrange
f18dd1f351 Error passing wrong version number to msvc linker
ENV: WinSDK8 VS2012 Compilation in 64 Bits
ERROR: error when linking client

CAUSE: msvc link support only major and minor version number. Before VS2012 extra number (like revision number) were stripped. Now the link throw an error with VS2012

see https://bugs.php.net/bug.php?id=63537 see http://msdn.microsoft.com/fr-fr/library/h88b7dc8(v=vs.110).aspx

--HG--
branch : StudioEtrange/error-passing-wrong-version-number-to-ms-1374694351376
2013-07-24 19:32:41 +00:00
StudioEtrange
885a39ad7e nel.cmake edited online with Bitbucket
--HG--
branch : StudioEtrange/nelcmake-edited-online-with-bitbucket-1374694264640
2013-07-24 19:31:10 +00:00
StudioEtrange
cc30e3b8f8 ENV:
WinSDK8
VS2012
Compilation in 64 Bits

ERROR:
error when linking client

CAUSE:
msvc link support only major and minor version number.
Before VS2012 extra number (like revision number) were stripped. Now the link throw an error with VS2012

see https://bugs.php.net/bug.php?id=63537
see http://msdn.microsoft.com/fr-fr/library/h88b7dc8(v=vs.110).aspx

--HG--
branch : StudioEtrange/env-winsdk8-vs2012-compilation-in-64-bit-1374693753244
2013-07-24 19:22:38 +00:00
Michael Witrant
a33a0e5c56 LibOVR is optional, and is disabled by default
--HG--
branch : multipass-stereo
2013-07-06 20:05:19 +02:00
Michael Witrant
0036b5c619 Added Win32 and Apple LibOVR build paths
--HG--
branch : multipass-stereo
2013-07-06 19:55:08 +02:00
Michael Witrant
c60bd3e3f5 Added LibOVR finder and Linux support, ref #43
--HG--
branch : multipass-stereo
2013-07-06 19:33:07 +02:00
kaetemi
fba17e4553 Allow linking debug and release with same mysql lib if no specific debug lib.
--HG--
branch : multipass-stereo
2013-07-01 18:45:43 +02:00
kaetemi
8629f069ae Allow compiling with shared libxml2 on Windows 2013-06-16 03:19:02 +02:00
kervala
a5806126b4 Fixed: Compilation under Mac OS X (CMAKE_OSX_DEPLOYMENT_TARGET and CMAKE_OSX_SYSROOT must be set on CMake command-line if needed) 2013-03-24 19:59:19 +01:00
mattraykowski
e7e51f01e0 merging gui editor repo. 2013-02-14 09:53:06 -06:00
mattraykowski
3f97c5afbd Added another path for x86_64 Ubuntu 12.10 for libwww 2013-02-14 07:46:42 -06:00
dfighter1985
fcb736c387 Merged mainline default branch changes.
--HG--
branch : gsoc2012-gui-editor
2013-02-14 10:47:10 +01:00
kervala
b330b46ee3 Fixed: PCH finally working under Linux and Mac OS X (never worked before) 2012-12-08 11:34:39 +01:00
kervala
ab838c00bf Fixed: revision target not being generated 2012-12-07 14:51:48 +01:00
kervala
f4b72eab54 Changed: Support for VC++ 2012
Changed: Improvements for iOS
Changed: Support for Android
2012-12-06 10:44:55 +01:00
kervala
b4d9e2bfdd Fixed: Detect and use Windows 8 SDK only under Visual C++ 2012 2012-12-06 10:23:04 +01:00
dfighter1985
cb13ce46cd MODIFIED: #1471 Merged mainline default to this branch.
--HG--
branch : gsoc2012-gui-editor
2012-11-25 05:22:40 +01:00
kervala
ff18f8f0ec Fixed: Problem while parsing hg command line with a german locale 2012-11-04 17:10:26 +01:00
kervala
2e6361ebfe Fixed: revision.h error when hg executable not found 2012-10-22 14:56:25 +02:00
kervala
b421b38def Changed: Use of CMAKE_OSX_ARCHITECTURES to compile universal binaries under Mac OS X 2012-10-08 19:06:08 +02:00
kervala
3c19f1a2f4 Changed: Don't use CMAKE_LIBRARY_ARCHITECTURE at all, because not reliable enough 2012-10-07 13:58:59 +02:00
kervala
af4ed15c36 Changed: CXXFLAGS and CPPFLAGS support in CMake
Changed: Use LIBRARY_ARCHITECTURE to override CMAKE_LIBRARY_ARCHITECTURE
2012-10-03 22:31:12 +02:00
kervala
122fef354c Changed: Don't check Debian environment variables in CMake scripts (define options on cmake command-line instead) 2012-10-03 10:08:56 +02:00
kervala
4a1df6eb66 Changed: #1444 Allow to provide custom revision.h 2012-10-02 13:12:13 +02:00
kervala
e67c6e9b1e Changed: Under Windows, install all files in the same folder excepted includes and libs 2012-09-26 12:51:11 +02:00
kervala
0795a61516 Changed: #825 Remove all warnings when compiling Ryzom 2012-09-25 12:33:02 +02:00
kervala
fc8c26ff9f Fixed: #1254 Error while compiling with current stable squish 2012-09-25 12:19:13 +02:00
kervala
cb8cb918dd Changed: #1493 Fixed absolute prefixes 2012-09-24 08:56:10 +02:00
kervala
52d086fb8a Changed: #1493 Fixed absolute prefixes 2012-09-23 23:56:34 +02:00
kervala
6f480b4a87 Fixed: #1493 Remove also -O flags from environment variables 2012-09-23 20:30:28 +02:00
kervala
7a04e920e1 Fixed: #1493 MultiArch support 2012-09-22 22:57:38 +02:00
kervala
2f8b59e0ae Fixed: cmake Xcode project generation broken 2012-09-05 15:08:12 +02:00
dfighter1985
d301c46c27 Merged default branch into gui-refactoring.
--HG--
branch : gui-refactoring
2012-07-02 22:46:08 +02:00
kervala
09a163d76e Fixed: Revision 0 bug 2012-05-19 23:25:06 +02:00
kervala
dc8b368cfc Changed: Fix PCH for some cases under Mac OS X 2012-05-19 23:24:44 +02:00
kervala
318ae1e66c Changed: Search CppTest headers in cpptest subfolder too 2012-05-13 16:24:34 +02:00
kervala
9061d9a9b6 Changed: Search MySQL headers in mysql subfolder too 2012-05-13 16:24:14 +02:00
kervala
f7888cb7c9 Changed: #1275 Added OpenGL ES CMake module 2012-05-13 16:23:48 +02:00
dfighter1985
aed979a7fe Created NELGUI library, moved the GUI event descriptors there.
--HG--
branch : gui-refactoring
2012-05-10 22:17:04 +02:00
kervala
36b4d1a298 Added: Xcode checks and specific flags
Changed: Target by default Mac OS X 10.6 if not specified
Changed: Add -isysroot, -arch and -mmacosx-version-min flags if needed
2012-05-08 00:07:14 +02:00
kervala
15d2226427 Changed: Use only static libraries under Mac OS X if WITH_STATIC_EXTERNAL is used
Changed: Strip binaries under Mac OS X by default in Release (use WITH_SYMBOLS if you don't want)
2012-05-07 10:27:54 +02:00
sfb
a5de55c18d merge 2012-04-18 11:08:44 -05:00
sfb
c2e63b9d9d Changed: Used a Regex to workaround the colon project name issue for VS10. 2012-04-18 11:07:01 -05:00
kervala
8e70469541 Changed: Define Release configuration for compilation checks and as default if not defined (must be defined before PROJECT) 2012-04-12 16:01:38 +02:00
kervala
eeecc06601 Changed: #1448 Compilation with Clang 2012-04-11 23:59:55 +02:00
kervala
d0314c9e0e Fixed: Servers compilation if using static mysql library compiled with OpenSSL 2012-04-11 23:43:11 +02:00
kervala
0028303c35 Changed: Some Debian multiarch fixes
Added: Option WITH_SYMBOLS to keep symbols when compiling in Release
2012-04-11 15:30:38 +02:00
kervala
41747da931 Changed: Remove cariage return in build date 2012-04-07 23:16:04 +02:00
kervala
05d423ecdd Changed: Remove cariage return in build date 2012-04-07 22:47:03 +02:00
kervala
18e11b2867 Changed: Some checks for Clang and MinGW 2012-04-07 15:11:18 +02:00
kervala
425927cd50 Changed: #1448 Compilation with CLang (patch provided by GelluleX, thanks !) 2012-04-07 11:14:21 +02:00
kaetemi
7797e57737 Fixed: Compile under Linux Mint 12 with GTK enabled. 2012-03-23 07:59:45 +01:00
kervala
a48a7f06dd Changed: #1444 Add details for user-agent 2012-03-15 00:15:03 +01:00
kervala
b97eabc992 Fixed: Compilation with WITH_STATIC_EXTERNAL under Mac OS X 2012-03-09 14:39:37 +01:00
kervala
1ef105403c Fixed: #1447 PCH don't work anymore on Mac OS X 2012-03-09 09:31:13 +01:00
kervala
033c2ecf0e Fixed: #1321 Adopt WITH_STATIC_EXTERNAL for Mac OS X 2012-03-07 20:47:32 +01:00
kervala
c937df33ef Changed: #1444 Add details for user-agent 2012-03-06 14:21:23 +01:00
sfb
efa4fbdbf1 merge 2012-02-29 09:32:53 -06:00
kervala
17aded8877 Changed: Support for Debian/Ubuntu multiarch (use -DCMAKE_LIBRARY_ARCHITECTURE=<multiarch>) 2012-02-27 15:19:53 +01:00
kervala
7523a91fe1 Changed: Fix again bad MSVC10 CMake generator... 2012-02-22 22:17:09 +01:00
kervala
94aab791da Changed: Search in default paths if DXSDK_DIR is not defined 2012-02-21 17:47:16 +01:00
kervala
6306833423 Changed: New option WITH_INSTALL_LIBRARIES which allows user to install only final binaries and no development files (header, static libraries, etc...) 2011-09-11 14:44:37 +02:00
kervala
60ba938794 Changed: Allow to use external under Linux and Mac OS X 2011-09-10 18:45:54 +02:00
kervala
16383043d5 Fixed: "relocation R_X86_64_32 against.." error when mixing static and shared libraries 2011-09-10 18:43:21 +02:00
kervala
45eed67242 Changed: #1177 VS 2010 does not work under CMake 2011-08-19 16:58:18 +02:00
kaetemi
37b7c76d7b Merge 2011-08-13 23:44:22 +02:00
kaetemi
d98511337d Fixed: #1333 Support 3ds Max 2012 SDK. 2011-08-13 23:36:37 +02:00
kervala
9ea534f4f2 Fixed: #1329 Program received signal SIGSEGV, Segmentation fault. 2011-08-12 16:41:58 +02:00
kervala
bbc33e2bf9 Changed: Remove libwww warnings under Windows 2011-08-11 10:09:30 +02:00
sfb
bd2768ec89 Added: 3rd party library - Qt Property Browser 2.5
--HG--
branch : branch_ovqt_3rdparty
2011-08-03 07:51:10 -05:00
kervala
75ce27ad45 Added: Option WITH_STATIC_EXTERNAL to force FIND_LIBRARY to find static libs 2011-06-14 20:11:17 +02:00
kervala
b7eefef484 Changed: #1177 VS 2010 does not work under CMake 2011-06-08 11:46:11 +02:00
kervala
231d6ce32a Fixed: PCH problems with CMake 2.6 2011-06-03 13:59:08 +02:00
kervala
58acd2e969 Fixed: #1310 Broken build with VS 2k8 nmake 2011-06-03 10:07:52 +02:00
kervala
2497d88522 Fixed: #1310 Broken build with VS 2k8 nmake 2011-06-03 09:23:12 +02:00
kervala
b2585e21f6 Added: VC++ flags to fix some warnings and errors 2011-05-29 17:54:58 +02:00
rti
0b5c86d1df Added: FindIconv which is needed for a completely static client build on Mac OS X 2011-05-26 21:50:00 +02:00
kervala
cd2f22924a Changed: Minor changes in STLport CMake module 2011-05-24 20:25:39 +02:00
kervala
9200fa7919 Changed: Added luabindd as luabind debug library name 2011-05-24 20:25:03 +02:00
kervala
8f72d47de7 Changed: Use default FindZLIB.cmake module from CMake 2011-05-24 14:05:13 +02:00
kervala
aecf408585 Fixed: Luabind detection when compiled from sources 2011-05-23 12:52:35 +02:00
kervala
d6b53a3cef Fixed: #1297 CMake - improper detection architecture under linux (patch provided by Naush) 2011-05-20 21:32:31 +02:00
kervala
d76e14c158 Changed: Replaced LIB_PREFIX by NL_LIB_PREFIX 2011-05-14 16:08:58 +02:00
kervala
a4e5d88f5b Changed: Use of new variables to detect 64bits arch 2011-05-14 14:05:45 +02:00
kervala
5b9b530013 Fixed: Didn't display any error when DirectX SDK was not found
Changed: Use of new variables to detect 64bits arch
2011-05-14 14:05:31 +02:00
kervala
87aa990f3a Changed: Some code simplifications 2011-05-14 14:04:03 +02:00
kervala
3eb4b064fb Changed: Use of LIB_PREFIX only if defined
Changed: Compilation with all cores for VC++ 2008 and 2010
Changed: New method to determine the target CPU
2011-05-14 14:02:53 +02:00
kervala
7b472a2456 Fixed: Use of Windows SDK 7.1 with VC++ 2010 if found 2011-05-14 13:58:39 +02:00
kervala
f87a76b31f Fixed: Some parameters were forgotten while compiling PCH 2011-05-14 13:56:25 +02:00
kervala
2e4b7777bd Fixed: #1177 VS 2010 does not work under CMake 2011-05-12 12:49:17 +02:00
kervala
ea39e6ac7a Changed: #1275 Create an OpenGL ES driver 2011-05-01 17:01:11 +02:00
rti
b1dba1cea7 Fixed: Missing objdump binary name in CheckDepends.cmake 2011-04-13 19:58:41 +02:00
rti
89ff84badf Changed: #1109 archlinux libwww linker error 2011-04-12 20:08:35 +02:00
kervala
535b75abd6 Changed: #1251 NeL can't find selected drivers in CMake 2011-02-24 18:01:31 +01:00
kervala
d51cd28504 Fixed: Removed sound drivers from video macro and fixed libraries names 2011-02-24 15:37:55 +01:00
vl
481b840cb9 Added: dwarf2 debug symbol format for mac 2011-02-18 09:10:37 +01:00
kervala
56dc241c3d Fixed: Compilation under Linux with STLport 2011-02-11 18:05:19 +01:00
rti
d6f9f68e96 Fixed: #1248 CMake Error: get_filename_component unknown component 2011-01-27 18:00:21 +01:00
kervala
5332e25384 Changed: #878 Fix typos in comments/code 2011-01-22 22:18:33 +01:00
kervala
91c9b7d06a Changed: CMake compilation checks with STLport under Windows 2011-01-22 13:27:40 +01:00
kervala
1f81c36f2e Fixed: CMake compilation checks with STLport 2011-01-22 13:26:19 +01:00
kervala
83f82697c0 Changed: #1233 CMake doesn't find libwww under linux 2011-01-15 13:05:38 +01:00
kervala
5f441d56d9 Changed: #878 Fix typos in comments/code 2010-12-30 12:22:39 +01:00
kervala
2c5001ee1b Fixed: Compilation with luabind 0.7 (include luabind/version.hpp only when existing) 2010-12-30 12:20:42 +01:00
kervala
3edc080f2a Fixed: CMake 2.6 error 2010-12-21 15:37:27 +01:00
rti
cd381d6bf5 Added: -pipe option to reduce disk usage while building 2010-12-18 18:14:00 +01:00
kervala
847ad97364 Changed: Use optimized and debug keywords only if both are found 2010-11-18 21:36:21 +01:00
kervala
a4c64bb753 Changed: #1034 Implement CCustomMouse for Linux 2010-11-02 19:45:05 +01:00
vl
72e4c5208f Fixed: link order of the lib 2010-11-02 17:16:50 +01:00
aquiles
e6889998a6 Merge 2010-11-02 13:51:32 +01:00
aquiles
1ee5eb186e Changed: Altered the CMakeList definition for Find3dsMaxSDK.cmake 2010-11-02 13:46:18 +01:00
kervala
6edf49e2b6 Changed: #1152 FindLibwww does not make all needed libs link to ryzom_client 2010-11-02 13:36:12 +01:00
kervala
636fab6d33 Fixed: #1152 FindLibwww does not make all needed libs link to ryzom_client 2010-11-02 13:04:10 +01:00
kervala
977dac07be Changed: #1152 FindLibwww does not make all needed libs link to ryzom_client 2010-11-02 12:51:35 +01:00
kervala
4baba859f7 Changed: #1152 FindLibwww does not make all needed libs link to ryzom_client 2010-11-02 12:36:14 +01:00
kervala
233fc51109 Changed: #1152 FindLibwww does not make all needed libs link to ryzom_client 2010-11-02 12:26:57 +01:00
kervala
247d77c3a4 Changed: #1152 FindLibwww does not make all needed libs link to ryzom_client 2010-11-02 12:22:08 +01:00
kervala
6b1301f0c3 Changed: #1152 FindLibwww does not make all needed libs link to ryzom_client 2010-11-02 12:18:02 +01:00
kervala
cfe210c080 Changed: #1152 FindLibwww does not make all needed libs link to ryzom_client 2010-11-02 11:16:03 +01:00
kervala
305b75fd86 Changed: #1152 FindLibwww does not make all needed libs link to ryzom_client 2010-11-02 11:00:17 +01:00
kervala
81f1791fbe Changed: #1152 FindLibwww does not make all needed libs link to ryzom_client 2010-11-02 10:45:37 +01:00
kervala
5ad7e823e9 Changed: #1152 FindLibwww does not make all needed libs link to ryzom_client 2010-11-02 09:57:52 +01:00
kervala
cc0eb26a77 Changed: #1152 FindLibwww does not make all needed libs link to ryzom_client 2010-10-31 22:15:49 +01:00
kervala
b67181f1af Fixed: name_dir property for NeL and Ryzom libs under Mac OS X 2010-10-18 09:52:01 +02:00
kervala
48d69ac9d7 Fixed: Added /Zm1000 to be able to create PCH with a lot of headers 2010-10-18 09:51:06 +02:00
kervala
dbe04e26e4 Changed: Add another check for libwwww 2010-10-14 20:14:35 +02:00
kervala
28800dcda6 Changed: #1109 Checks for libwww dir 2010-10-10 23:04:39 +02:00
kervala
e2967cf317 Fixed: #1109 Checks for libwww stream and dir modules 2010-10-04 21:09:38 +02:00
kervala
f3b1ea3d95 Changed: #1111 Added commands for Mac OS 2010-10-03 18:23:38 +02:00
kervala
f2ebf0b626 Changed: #1109 archlinux libwww linker error 2010-10-03 11:39:04 +02:00
kervala
04ba071785 Changed: #1111 Create a CMake macro to check if we should link to an external lib or not 2010-10-03 10:04:36 +02:00
kervala
0cdb90cf44 Changed: #1111 Create a CMake macro to check if we should link to an external lib or not 2010-10-02 14:21:45 +02:00
kervala
92c923d7d2 Changed: #878 Fix typos in comments/code 2010-10-02 11:44:05 +02:00
kervala
1927750a9b Changed: FindCppTest.cmake now can link to a specific STLport version of CppTest 2010-10-02 11:43:16 +02:00
kervala
8139ee2911 Fixed: #1114 Add a check for boost includes directory 2010-10-02 11:40:27 +02:00
kervala
6b2f637b88 Fixed: Use of new CMAKE_*_OUTPUT_DIRECTORY 2010-10-01 12:45:54 +02:00
kervala
62d821ebe0 Fixed: Bad detection of MFC 2010-09-29 23:55:57 +02:00