Commit graph

12 commits

Author SHA1 Message Date
DasBlub
1634ad38dc [c12576] CMake: cleanup & strip trailing newline from 2020-02-16 23:19:51 +00:00
DasBlub
f45fe7c725 [c12569] minor CMake cleanup 2020-02-16 23:18:29 +00:00
DasBlub
10598c0743 [c12540] Remove the PREFIX parameter from the CMake files and use the standard CMAKE_INSTALL_PREFIX parameter instead
This also fixes the behaviour with relative paths, until now, it
calculated the absolute path from the location of the top level
CMakeLists.txt instead of your current directory where you called cmake.

You need to re-run CMake and define CMAKE_INSTALL_PREFIX and remove
PREFIX! You can do so by either removing all files in your build directory
and start from scratch or run 'cmake -DPREFIX= -DCMAKE_INSTALL_PREFIX=<install_path> <path_to_source>'.
A check has been added to the CMake file to make sure that PREFIX is no
longer used.

(based on commit [12391] - d489531)

Signed-off-by: DasBlub <DasBlub@gmail.com>
2020-02-16 21:39:24 +00:00
Schmoozerd
a27787851c [c12537] Update Authorship information
(based on commit [12388] - 037f217)

Signed-off-by: Xfurry <xfurry@scriptdev2.com>
2020-02-16 21:27:46 +00:00
Schmoozerd
a05738717a [c12536] Happy New Year 2013
Update authorship information and prepare for easier ways next year

Signed-off-by: Schmoozerd <schmoozerd@cmangos>

(based on commit [12325] - b7dbcda)
2020-02-16 21:25:01 +00:00
Schmoozerd
8068dcf6dd [11875] Update Copyright notice to year 2012
Start timemachine and a Happy new year to all!
2012-01-16 17:43:59 +01:00
Neo2003
e512fc9081 [11399] Make CMake a bit more usefull for Win/MSVC
Also make the -DPREFIX work on Win/MSVC

Signed-off-by: Neo2003 <Neo.2003@Hotmail.fr>
2011-04-26 18:48:46 +02:00
DasBlub
d9374d936f [11283] Drop the no longer used Visual Leak Detector (VLD)
For leak detection you can also use tools like Valgrind.

If you really want to use VLD you can revert this commit and remove the comments in MemoryLeaks.cpp and MemoryLeaks.h.
The VLD version which has been shipped with MaNGOS is *heavily* outdated and I thus suggest you to use a newer version of it, if you really plan to use it. You can find the newest version on github in its official repository: https://github.com/dmoulding/vld
2011-03-25 19:04:39 +01:00
cipherCOM
f9c184b097 [11197] Allow of std malloc use instead of TBB
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-02-22 19:55:59 +03:00
cipherCOM
fd39a2bdb9 [11196] Some cmake PREFIX related fixes:
* PREFIX variable doesn't reset CMAKE_INSTALL_PREFIX anymore

* List PREFIX in variable list

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-02-22 19:53:52 +03:00
blueboy
f5d69052e1 [11184] Allow build mangos without git repo
* Avoid cmake call fail if git binary found but
   - no git repository in current dir
   - git repository exist but no tags in repository

* Output commit hash instead most recent tag name.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-02-18 05:29:46 +03:00
cipherCOM
a81cf28610 [11167] Added CMake support
(based on cipherCOM's commit 0039476)

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-02-14 12:56:50 +03:00