16 Commits

Author SHA1 Message Date
Shauren
3331699906 Build: Modernize include directory management using target_sources(FILE_SET) 2025-11-12 22:53:54 +01:00
Shauren
1dc1141480 Dep/Protobuf: Enable PCH 2025-06-11 21:13:38 +02:00
Shauren
77fe2745fe Build: CMake cleanup
* Migrate all add_definitions to target_compile_definitions
* Remove -D from preprocessor definitions added by target_compile_definitions (unneccessary, cmake strips it anyway)
* Fixed NO_BUFFERPOOL not being set on g3d if jemalloc is used
* Moved library/compiler specific compile flag settings spread all over various CMakeLists to their related library/compiler file
* Remove ancient manual link flag settings for worldserver
2024-07-15 15:24:35 +02:00
Shauren
ae9d43defb Dep/protobuf: Support ARM with MSVC 2024-02-17 11:58:34 +01:00
Shauren
073d1cb4ec Dep/protobuf: Fixed gcc warnings 2023-05-17 17:35:03 +02:00
Shauren
50381ed741 Dep/protobuf: Backport https://github.com/protocolbuffers/protobuf/pull/2337 to our embedded version 2021-10-01 18:57:17 +02:00
Aokromes
b0bf1275ee New Year 2020-01-02 06:44:10 +01:00
vincent-michael
5620eb9463 Update copyright note for 2019
auto happy = new year(2019);
2019-01-01 10:14:33 +01:00
vincent-michael
7d00ae4045 Update copyright note for 2018
auto happy = new year(2018);
2018-01-01 00:40:17 +01:00
Naios
95a837717b Build: Disable warnings in protobuf projects 2017-12-20 04:04:28 +01:00
Naios
ff35262a3a Build: Use interface targets for inheriting flags and definitions
* Remove the usage of global flags and definitions
  set through the CMAKE_CXX_FLAGS variable.
* Use cmake target compile features for setting the
  CXX standard automatically.
* Make C++14 globally available in the project
* Closes #21033

(cherry picked from commit e60c1f84a7)
2017-12-20 04:04:27 +01:00
vincent-michael
86b98686a9 Update copyright note for 2017
Happy new year
2017-01-01 16:23:13 +01:00
Naios
d44eb86108 Dep/Protobuf: Quote a string in the CMakeLists
* Prevents errors when the c or cxx flags are empty
  for some reason (which should never happen in
  proper configured environments).
* Closes #17031
2016-04-25 19:04:25 +02:00
Naios
9701fca7df Dep/Protobuf: Link protobuf dynamically when building with shared libs
* Fixes issues with linux and dynamic linking
* Closes #16993
2016-04-17 17:36:40 +02:00
Shauren
ea652fbedd Build fixes 2016-03-28 18:47:13 +02:00
Shauren
092d52080f Dep: Added google protobuf 2016-03-26 00:30:28 +01:00