click
d405f3fca5
Add CMake platform-check (32/64-bit) (includes new test-variable ${PLATFORM} that defines X86/X64 basesystem)
...
--HG--
branch : trunk
2010-06-30 14:39:21 +02:00
Shauren
2ea043484d
It is now possible to use CMake on windows for proper build (PCH support included)
...
Merged PCH header into gamePCH since they became the same after these changes
--HG--
branch : trunk
rename : src/server/game/PrecompiledHeaders/NixCorePCH.cpp => src/server/game/PrecompiledHeaders/gamePCH.cpp
rename : src/server/game/PrecompiledHeaders/NixCorePCH.h => src/server/game/PrecompiledHeaders/gamePCH.h
2010-06-30 13:10:13 +02:00
click
06cd5563b6
Use the correct CMake-variable for where to place the generated revision.h file (whops)
...
--HG--
branch : trunk
2010-06-25 19:13:14 +02:00
click
35aa050db8
Temporary fix linux build (back to cmake 2.6.0 standards untill a better solution is found)
...
+ clean up the base cmakelists.txt a bit
+ remove a GCC-warning when attempting build from a CMake-generated VS-project/solution
--HG--
branch : trunk
2010-06-24 15:08:01 +02:00
click
d63b601f61
First part of supporting CMake under Windows - this is WIP, and if you want to work on it, be on IRC.
...
This is NOT a complete product, but we need all hands on deck to get this sorted out ASAP, and as such we throw it in.
No changes are done to Windows buildmethods untill this is -completed- and -working-.
--HG--
branch : trunk
2010-06-15 19:19:17 +02:00
click
d226e92ebb
Fix linux compileissues when compiling with scripts - I actually forgot to reinstate it when cleaning up the CMakeLists.txt earlier. Sorry!
...
--HG--
branch : trunk
2010-06-14 11:27:44 +02:00
click
b232204264
Remove old DO_MYSQL-params in CMakeLists.txt files - not required as we only support MySQL anyway
...
+ add partial support for finding headers on Windows (not yet done)
--HG--
branch : trunk
2010-06-14 02:00:30 +02:00
Brian
e7083e46ac
* Fixed typo
...
* Thanks Keven85
--HG--
branch : trunk
2010-06-13 13:34:04 -06:00
click
5c8ccefef5
Remove duplicate DO_WARN conditional in toplevel CMakeLists.txt (thanks to imbecile for spotting)
...
--HG--
branch : trunk
2010-06-13 17:36:05 +02:00
click
34617d0965
Correction on scripts config-entry in CMakeLists.txt + some generic cleanup on the output
...
+ set proper cmake-tagging when building in release- or debug-mode
--HG--
branch : trunk
2010-06-13 00:15:23 +02:00
Tartalo
2457c5a174
Add copyright notes to CMake files
...
--HG--
branch : trunk
2010-06-09 15:39:34 +02:00
Tartalo
5effc26ad3
Implement DO_WORLDSERVER and DO_AUTHSERVER options for cmake, both enabled by default
...
Needs more work to split shared/ and so on but it works
--HG--
branch : trunk
2010-06-09 14:15:57 +02:00
Brian
02efe02b43
* Added missing include paths that got lost in the merge a few revs ago
...
* Fixed realative path to Reference.h
* Re-enabled PCH building by default
* Re-enabled scripts building by default
* Linux compile now fully functional again.
--HG--
branch : trunk
2010-06-09 00:34:22 -06:00
click
2238007e4e
Add libmpq-0.4.2 (was missing from sourcetree after cleanup)
...
--HG--
branch : trunk
2010-06-08 19:29:54 +02:00
click
332b0f3c8e
Properly build and link core (yay!)
...
- Not done yet : Sorting out the PCH-system on *nix
- Not done yet : Sorting out scriptcompilation (still broken)
--HG--
branch : trunk
2010-06-08 08:59:38 +02:00
click
f867f6d7a8
Get g3dlib, zlib and jemalloc to build again
...
--HG--
branch : trunk
rename : opt/cleanup/tab2spaces.sh => contrib/cleanup/tab2spaces.sh
rename : opt/cleanup/whitespace.sh => contrib/cleanup/whitespace.sh
rename : opt/conf_merge/README => contrib/conf_merge/README
rename : opt/conf_merge/index.php => contrib/conf_merge/index.php
rename : opt/conf_merge/merge.php => contrib/conf_merge/merge.php
rename : doc/AuctionHouseBot.txt => docs/AuctionHouseBot.txt
rename : doc/DocStructure.dox => docs/DocStructure.dox
rename : doc/Doxyfile.in => docs/Doxyfile.in
rename : doc/EventAI.txt => docs/EventAI.txt
rename : doc/HowToScript.txt => docs/HowToScript.txt
rename : doc/TextTables.txt => docs/TextTables.txt
rename : doc/UnixInstall.txt => docs/UnixInstall.txt
rename : externals/jemalloc/include/internal/arena.h => externals/jemalloc/jemalloc/internal/arena.h
rename : externals/jemalloc/include/internal/base.h => externals/jemalloc/jemalloc/internal/base.h
rename : externals/jemalloc/include/internal/chunk.h => externals/jemalloc/jemalloc/internal/chunk.h
rename : externals/jemalloc/include/internal/chunk_dss.h => externals/jemalloc/jemalloc/internal/chunk_dss.h
rename : externals/jemalloc/include/internal/chunk_mmap.h => externals/jemalloc/jemalloc/internal/chunk_mmap.h
rename : externals/jemalloc/include/internal/chunk_swap.h => externals/jemalloc/jemalloc/internal/chunk_swap.h
rename : externals/jemalloc/include/internal/ckh.h => externals/jemalloc/jemalloc/internal/ckh.h
rename : externals/jemalloc/include/internal/ctl.h => externals/jemalloc/jemalloc/internal/ctl.h
rename : externals/jemalloc/include/internal/extent.h => externals/jemalloc/jemalloc/internal/extent.h
rename : externals/jemalloc/include/internal/hash.h => externals/jemalloc/jemalloc/internal/hash.h
rename : externals/jemalloc/include/internal/huge.h => externals/jemalloc/jemalloc/internal/huge.h
rename : externals/jemalloc/include/internal/jemalloc_internal.h => externals/jemalloc/jemalloc/internal/jemalloc_internal.h
rename : externals/jemalloc/include/internal/jemalloc_internal.h.in => externals/jemalloc/jemalloc/internal/jemalloc_internal.h.in
rename : externals/jemalloc/include/internal/mb.h => externals/jemalloc/jemalloc/internal/mb.h
rename : externals/jemalloc/include/internal/mutex.h => externals/jemalloc/jemalloc/internal/mutex.h
rename : externals/jemalloc/include/internal/prof.h => externals/jemalloc/jemalloc/internal/prof.h
rename : externals/jemalloc/include/internal/ql.h => externals/jemalloc/jemalloc/internal/ql.h
rename : externals/jemalloc/include/internal/qr.h => externals/jemalloc/jemalloc/internal/qr.h
rename : externals/jemalloc/include/internal/rb.h => externals/jemalloc/jemalloc/internal/rb.h
rename : externals/jemalloc/include/internal/stats.h => externals/jemalloc/jemalloc/internal/stats.h
rename : externals/jemalloc/include/internal/tcache.h => externals/jemalloc/jemalloc/internal/tcache.h
rename : externals/jemalloc/include/internal/totally_not_p_r_n.h => externals/jemalloc/jemalloc/internal/totally_not_p_r_n.h
rename : externals/jemalloc/include/jemalloc.h => externals/jemalloc/jemalloc/jemalloc.h
rename : externals/jemalloc/include/jemalloc.h.in => externals/jemalloc/jemalloc/jemalloc.h.in
rename : externals/jemalloc/include/jemalloc_defs.h => externals/jemalloc/jemalloc/jemalloc_defs.h
rename : externals/jemalloc/include/jemalloc_defs.h.in => externals/jemalloc/jemalloc/jemalloc_defs.h.in
2010-06-08 08:04:26 +02:00
Tartalo
a54624fa39
Add some messages to main cmake file
...
--HG--
branch : trunk
2010-06-07 21:58:26 +02:00
Brian
1a3f840a17
* broken
...
--HG--
branch : trunk
2010-06-07 13:20:46 -06:00
Tartalo
e548d60b4e
Initial DO_TOOLS support for cmake
...
--HG--
branch : trunk
2010-06-06 23:53:50 +02:00
Tartalo
e4513dd0cb
And even more CMakeLists.txt fixes (not finished yet)
...
--HG--
branch : trunk
2010-06-06 14:08:07 +02:00
Tartalo
a9681e479d
More CMakeLists.txt fixes. Repo is compilable but it may contain some errors yet
...
--HG--
branch : trunk
2010-06-06 12:51:59 +02:00
click
eed0d341d2
Rewrite the warning (and thus add more hand-holding) regarding the "insourcetree build warning" when attempting a build directly in sourcetree.
...
Adds additional information on how to actually "unlock" the sourcetree again after an attempt to build in the sourcetree has been made.
--HG--
branch : trunk
2010-05-18 04:28:13 +02:00
click
d607693123
Add proper use of precompiled headers on linux - this removes an approx 50% reduction of total compiletime
...
--HG--
branch : trunk
2010-05-18 00:17:14 +02:00
click
cb84d3e617
Cleanup : Remove postgreSQL-support (not used and has also been broken for a long time)
...
--HG--
branch : trunk
2010-05-06 09:53:09 +02:00
raczman
20b79fec28
Don't build jemalloc on mac.
...
--HG--
branch : trunk
2010-04-24 14:20:28 +02:00
runningnak3d
873f8d0380
* New -DDO_SQL swich for cmake by default disabled to avoid usual not
...
* needed copy SQL files on linux environments
* Patch by Aokromes
--HG--
branch : trunk
2010-04-13 16:11:04 +02:00
raczman
e30e9a45cb
Cleaned up include directories in cmakes.
...
--HG--
branch : trunk
2010-04-06 15:53:27 +02:00
Brian
90ba30cfd3
* Changed TrinityCore2 to TrinityCore. There is no TrinityCore2 anymore.
...
* Removed unused SystemConfig.h.in
--HG--
branch : trunk
2010-02-15 08:05:02 -07:00
Rat
523dae2f63
*added new CMakeLists
...
-should speed up building on linux systems
--HG--
branch : trunk
2010-01-24 20:02:05 +01:00
win32
ce620223eb
restore work scripts in *nix system
...
--HG--
branch : trunk
2010-01-21 08:23:30 +02:00
Rat
0cc053ea4d
*Integrate Script system to Core
...
-added ScriptMgr for loading scripts
-removed bindings
-moved script system to src/game
-moved scripts to src/scripts
-VC project files updated
-cmakes updated (not 100% done yet)
NOTE to Devs:
-file locations changed
-precompiled renamed to ScriptedPch
-ecsort_ai renamed to ScriptedEscortAI
-follower_ai renamed to ScriptedFollowerAI
-guard_ai renamed to ScriptedGuardAI
-simple_ai renamed to ScriptedSimpleAI
-sc_creature renamed to ScriptedCreature
-sc_gossip renamed to ScriptedGossip
-sc_instance renamed to ScriptedInstance
*use the new headers in scripts, thank you
NOTE to ALL:
cmake not fully tested, please report any errors with it
could make creashes, incompability
USE AT YOUR OWN RISK before further tests!!
--HG--
branch : trunk
2010-01-19 11:36:05 +01:00
n0n4m3
25c28cae98
Removed unused compile flag
...
--HG--
branch : trunk
2009-12-26 10:52:24 +01:00
n0n4m3
c3ee3f537d
Set use mtmaps by default, and cleanup some code in MapManager.
...
TODO: Set MapUpdate.Threads=0 in config, for full disable mtmaps, for correct work mtmaps, need ACE 5.7.2+, recommend 5.7.5
--HG--
branch : trunk
2009-12-21 07:58:19 +01:00
n0n4m3
b6c67d9202
Removed DSHORT_SLEEP from cmake config, now not needed, world sleep 50ms
...
--HG--
branch : trunk
2009-12-17 09:12:49 +01:00
Brian
f643c9c21d
* Fix Linux build
...
* Thanks to jeniczek
--HG--
branch : trunk
2009-12-14 19:46:36 -07:00
Paradox
dc6f2cd40e
Adds Debug or Release to the Full Revision string, fully tested under Windows.
...
--HG--
branch : trunk
2009-12-14 14:50:46 -05:00
Kudlaty
a73a8dc549
Add option to cmake if should compile with multi thread maps or not.
...
Usage with: -DUSE_MULTI_THREAD_MAP=true (this will compile with multi thread maps
--HG--
branch : trunk
2009-11-28 15:37:55 +01:00
Kudlaty
cf378b3d0b
Fix warnings for cmake 2.8.0
...
--HG--
branch : trunk
2009-11-27 00:07:39 +01:00
tartalo
b19c7b0d85
Fix compile un *NIX, closes #53
...
--HG--
branch : trunk
2009-11-04 18:12:19 +01:00
Kudlaty
902f6a14e6
Set DO_MYSQL = 0 when we compile with PGSQL
...
--HG--
branch : trunk
2009-09-14 04:31:44 +02:00
Kudlaty
8821a09832
Some cosmetic change in cmake files
...
--HG--
branch : trunk
2009-09-06 05:23:33 +02:00
Kudlaty
b6e694ab68
Add macro for finding Termcap with cmake, and some cleaning about readline
...
--HG--
branch : trunk
2009-09-06 00:39:13 +02:00
Chaz Brown
558433557f
Add back -DCENTOS switch for cmake, since the previous solution wasn't working for everyone.
...
--HG--
branch : trunk
2009-09-05 13:17:28 -04:00
Kudlaty
6337c3adfb
Merge [SD2]
...
r1288 Update include guards with better naming.
r1289 Fix typo in makefile.am - skip
r1290 Move AI remaining in misc folders to own folder base.
Rename file to same as others for consistency and update includes accordingly.
--HG--
branch : trunk
2009-08-16 00:53:16 +02:00
Chaz Brown
5ab3117c0c
Fix libssl in OSX - fix provided by imbecile
...
--HG--
branch : trunk
2009-08-13 08:40:40 -04:00
Kudlaty
d36a479b48
Fix msg about have out of date ace lib, also some cosmetic change
...
--HG--
branch : trunk
2009-07-25 16:34:22 +02:00
Kudlaty
e1c2d50796
Fix build on windows and propably on centos
...
--HG--
branch : trunk
2009-07-25 14:36:42 +02:00
Kudlaty
6998d0185c
Fix build with old ACE lib
...
But anyway, you should update your ACE lib
--HG--
branch : trunk
2009-07-25 02:19:16 +02:00
Kudlaty
c1725760b4
Include macro to find readline library(only on unix), and if not founded, just not compile
...
--HG--
branch : trunk
2009-07-24 23:15:43 +02:00
Kudlaty
63fd4eda99
Some work on PostgreSQL support
...
note: still don't work, so use mysql
--HG--
branch : trunk
2009-07-12 04:32:34 +02:00