48 Commits

Author SHA1 Message Date
RoboSchmied
3c1187e150
Fix typos in BUILD messages (#8199) 2024-04-02 11:32:57 +02:00
Vincent Stumpf
711705df10
Upgrade to C++17 (#7811)
* Upgrade to C++17
2023-06-16 20:07:23 -07:00
SapitoSucio
7c18321138
Enabling EPOLL in cmake command (#7764) 2023-05-17 14:19:06 +02:00
Vincent Stumpf
a35063dfd6
Upgrade to c++14 (#7593) 2023-02-13 10:58:31 -08:00
Vincent Stumpf
0ac52d0bb4
Initial support for web service for newer clients (#5731)
Co-authored-by: Jittapan Pluemsumran <secret@rathena.org>
Co-authored-by: Lemongrass3110 <lemongrass@kstp.at>
2022-08-16 15:10:18 +02:00
Jittapan Pluemsumran
d1b7061f5a
YAML loading optimization (#5997)
* Use rapidyaml library to parse YAML databases instead of yaml-cpp.
* Drastically reduces the parse time for yaml databases.
* Removes yaml-cpp content from main servers, except for tool emitter.
Co-authored-by: Vincent Stumpf <vincents.995@gmail.com>
Co-authored-by: Atemo <capucrath@gmail.com>
Co-authored-by: Lemongrass3110 <lemongrass@kstp.at>
Co-authored-by: Aleos <aleos89@users.noreply.github.com>
2022-03-30 16:38:52 -04:00
lighta
712bca76da
Add default for CMake build type (#5586)
Add valgrind to dockerfile
2020-12-17 12:38:19 +01:00
Lemongrass3110
4633ab5ca1
Fixed CMake on Windows (#3204)
It is now usable in Visual Studio as well
2018-06-21 00:26:40 +02:00
lighta
618b9356fc
Fix #2591 spinlock issue. (#2637)
* Fix #2591 spinlock issue.
Add basic_test, for few integration test.
Add thread_local_storage support in cmake
Fix thread.c for linux and fix small typo
2017-11-26 22:30:17 -04:00
lighta
673315994b Temporary adjustment for strict aliasing (#2582)
* Fixes #2572.
* Added a custom rule to avoid optimization causing monsters to not attack. (From tests this appears to be npc.cpp on Centos 7 and mob.cpp on Windows vc141)
* Added -fno-strict-alising to CMake when building with GCC. (Clang and VS have it by default)
* Fixed cmake output path.
Thanks to @lighta!
2017-11-06 16:59:59 -05:00
lighta
611dee0753 Fix cmake (#2554)
* Fix cmake
Thanks to @secretdataz for help. (cherry-picked from refactor)
2017-10-30 13:19:27 -04:00
Lighta
82bb9b1f2f Fix and update Cmake build.
Update config.pl
2014-09-10 17:46:11 -04:00
aleos89
2d2991a1fd TXT reference removal from emulator.
- Removed any remaining TXT and SQL references from files.
- The 'make sql' command is now replaced by 'make server'.
- Removed account.engine feature as it is no longer needed.
- Moved login and IP ban configs to inter_athena.conf.
- Cleaned up cmake files.
- Miscellaneous clean ups.
2014-09-03 17:44:35 -04:00
brianluau
474ea165e2 - Fixed a CMake build error, since r17181.
- Fixed a 'replacestr' example in script_commands.txt

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17204 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-03-21 07:16:39 +00:00
glighta
94d2acd0ad -Fix EDP pre-re not adding bonus (for grimtooth and venomknife) bugreport:6259
-Fix Invisibility remove by ruwach / sight / impr_concentration bugreport:7285
-Fix Dispel not removing dance, (inversed area check)
-Fix Cmake compilation broken since r17189

-Upd check-doc, athena-start to ask arg if none given.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17200 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-03-15 21:10:06 +00:00
glighta
14ecbcf666 -Fix old warnings. 1st step to get ride of -wno flag in configure.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16987 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-30 04:13:46 +00:00
thatakkarin
e49bf6b138 * Removed Non-English sample files from doc/sample/ (bugreport:6750)
- sample/npc_test_ev.txt was originally used to demonstrate nifty event related commands.
 - sample/npc_test_arena.txt is rather defunct as there are fully working scripts within npc/ that demonstrate the same functionality.
 - sample/npc_test_str.txt explains how StRing != striNG. This is documented in doc/script_commands.txt
* Slight update to CMakeLists.txt for README.txt 

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16982 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-29 16:20:40 +00:00
thatakkarin
60b1b0bc97 * Follow up to r16975 - removed reference to ${CMAKE_CURRENT_SOURCE_DIR}/readme.html in CMakeLists.txt (Why was it referenced there :o )
* Modified ShowInfo in map/map.c to reflect change.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16977 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-29 01:23:53 +00:00
brianluau
0e0860a78d - Follow up to r16779: also deleted notice.txt from CMakeLists.txt
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16780 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-09-15 19:53:55 +00:00
flaviojs
14d87ed947 CMake: Add threads library.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16223 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-03 19:31:32 +00:00
blacksirius
b1881eafee removed the old obsolete Plugin system (commit 1/2)
- Removed @ Autoconf/make and CMake, VC Projects will be cleaned in a additional commit.



git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16203 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-01 14:21:02 +00:00
brianluau
29749ceaa8 - Replaced more -> rAthena (follow up to r15251).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16195 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-06-01 04:06:10 +00:00
eathenabot
15d5073638 * Merged changes ONLY eAthena 15109 (partial).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16173 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-31 05:11:03 +00:00
eathenabot
d254bb1fb9 * Merged changes up to eAthena 15105.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16171 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-31 05:02:00 +00:00
eathenabot
2f87c4dd0b - Full revert of r16105 and r16106.
* Merged changes up to eAthena 15094.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16110 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-13 17:14:43 +00:00
eathenabot
1798cf32c4 * Merged changes up to eAthena 15096.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16106 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-12 20:31:55 +00:00
eathenabot
0769329223 * Merged changes up to eAthena 15095.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16105 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-12 20:14:01 +00:00
eathenabot
cc095606bf * Merged changes up to eAthena 15094.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16096 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-05-11 02:37:53 +00:00
flaviojs
d90ebcbd87 Add ENABLE_EXTRA_BUILDBOT_CODE to CMakeLists.txt
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15940 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-04-23 03:52:52 +00:00
gepard1984
bf1c81839f Merged TXT removal branch back to trunk.
* TXT save engine is removed and no longer supported.
* See also tid:53926, tid:57717.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15503 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-20 20:33:32 +00:00
gepard1984
3aacf05a88 * Removed pre-VS9 project files and Changelog-Trunk.txt from trunk CMakeLists (follow-up to r15009, r15260)
* Additonaly removed TXT-only .bat files and save-tmpl from TXT removal branch CMakeLists (follow-up to r15236, r15485)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15496 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-19 01:10:21 +00:00
mercurial123
0f47604f2d - Replaced all occurrences of "eAthena" to "rAthena" string
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15251 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-24 21:30:42 +00:00
eathenabot
1810f2efcc * Merged changes up to eAthena 15032.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15065 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-11 21:06:25 +00:00
flaviojs
bdfa11d86e * CMake: Only install template files if they don't already exist.
* CMake: Added plugin targets.
* CMake: Added options BUILD_* to build the converters and individual plugins. (default=OFF)
* CMake: Added option WITH_CPACK for package creation. (default=ON)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14918 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-07-21 06:47:12 +00:00
flaviojs
a7f392b812 * CMake: added option ENABLE_EXTRA_DEBUG_CODE.
* CMake: added option ENABLE_PROFILER.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14915 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-07-19 06:35:09 +00:00
flaviojs
e52305234c * CMake: added option ENABLE_MEMMGR. (builtin memory manager)
* CMake: added option ENABLE_MEMORY. (memory library)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14914 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-07-19 04:18:39 +00:00
flaviojs
cf819cc321 * CMake: added tests for big endian, typecast to union and monotonic clock.
* CMake: added 'have function' tests for setrlimit, strnlen, getpid and gettid.
* CMake: added option ENABLE_RDTSC.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14908 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-07-15 06:27:35 +00:00
flaviojs
d725299ad1 * CMake: added search for ws2_32 library. (tested with MinGW/MSYS)
* Added missing pcre library for MinGW.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14904 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-07-13 01:58:32 +00:00
flaviojs
13a4063735 * CMake: added search for math.h, added search for socket/nsl library. (tested with Solaris-201011-x86)
* Added missing include to socket.c.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14903 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-07-12 22:01:45 +00:00
flaviojs
9535126f93 * CMake: set project language to C, added module FindFunctionLibrary, added search for dl library. (tested with debian-wheezy-i386)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14902 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-07-12 06:39:46 +00:00
flaviojs
334afd6cf6 * CMake: added txt-converter targets, added warning for 64bit, added list of available targets.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14900 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-07-10 23:46:51 +00:00
flaviojs
b13fa85a3f reverting unintended change in r14897 (3rdparty line removed)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14898 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-07-10 15:48:40 +00:00
flaviojs
e3dc463655 * CMake: lowered required version to 2.8.3 and moved custom cmake modules to 3rdparty/cmake.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14897 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-07-10 15:29:57 +00:00
flaviojs
31cbbf1917 * CMake: added search for math library, made CPack existence optional, updated the search for mysqlclient and corrected misspelled variables (tested with FreeBSD-8.2-i386)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14893 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-07-09 07:39:27 +00:00
flaviojs
7e4a0b3266 * CMake: normalized variable names, added ability to create a package/installer.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14890 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-07-07 03:21:42 +00:00
flaviojs
9be2d9dbbd * CMake: src/common builds static libraries common_base/common_sql, that are used as dependencies by the other targets.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14889 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-07-06 20:40:38 +00:00
flaviojs
0a7528681e * CMake: marked executables as different components and other miscellaneous changes. [FlavioJS]
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14877 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-07-01 15:43:58 +00:00
flaviojs
27799f566d * Added experimental support for CMake. (for now: basic build, no extras, only tested with VS10 and cygwin)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14872 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-06-29 12:26:51 +00:00