119 Commits

Author SHA1 Message Date
Zyres
2ce69cb0df Update gcc.cmake 2023-07-14 07:00:07 +02:00
schnek
5ead53a1ed Fix SRC_TBC_SHADOWLABYRINTH_SCRIPTS_FILES (not added) (#1110)
* Fix SRC_TBC_SHADOWLABYRINTH_SCRIPTS_FILES (not added)

fix Installing ./libmysql.lib
Delete USE_PCH_INCLUDES
Revert unset()
language version must be global 😉

* Update CheckSystem.cmake
2023-07-08 15:14:06 +02:00
schnek
296b3f03cd Cleanup/Refactor of CMake - enabled #include
Slight Cleanup/Refactor of CMake Setup
Fix error: invalid argument '-std=c++2a' not allowed with 'C'
Fix https://github.com/AscEmu/AscEmu/issues/1108
Fix github build
2023-05-30 09:34:26 +03:00
schnek
8ac4b4b110 rework cmake - removed old implementation where files were included in manual "mode" 2023-04-22 17:27:42 +03:00
schnek
32b9748984 Resolved errors in cmake / added comments
Removed active triggers they are not used (invisibility type -15)
Increased maximum build id 48107, 12555
Removed std::string LogFileName, bool bLogChat - not used
Renamed men -> man
2023-03-04 23:02:06 +03:00
schnek
1df6485e1f start rework cmake - each generated precompiled header in separate file
add method add_compile_options - https://cmake.org/cmake/help/latest/command/add_compile_options.html
2023-02-09 21:32:37 +03:00
Appled
36e7f93db5 Welcome to 2023 2023-01-02 17:56:56 +02:00
schnek
adf370d683 fix windows detection .dll 2022-11-26 20:48:48 +03:00
schnek
330670391b Support for OpenSSL 3.0 2022-11-15 23:29:58 +03:00
Zyres
8d948ede4c Going back to warning level 3
* fix macro redefinition MAX_PATH (comes from errno.h on win)
* use the correct order for class member initialisation
* printf DWORD is unsigned long not unsigned
2022-11-11 21:22:36 +01:00
schnek
74c1a3f118 AscemuServerDefines.hpp - removed for files with #define... there are special files
Removed special code on banner for various platforms
Added new #define... AE_PLATFORM, AE_ARCHITECTURE (platform, architecture - defined in cmake
Common.hpp.in - add only values for all architectures... to the file (without "else")
changed codestyle in console (+ now you can use help in different registers (Help, help, ?)
add config.yml - added official links
2022-06-20 19:16:37 +03:00
schnek
dd05e30f09 Add define NOMINMAX for MSVC compiler 2022-06-07 22:12:55 +03:00
schnek
2f20549fb5 The functionality provided by cotire has been superseded by features added to CMake 3.16. 2022-05-11 21:44:46 +03:00
schnek
da2ec67439 Using the types and functions in <filesystem> does not require linking with -lstdc++fs now. 2022-04-03 22:21:57 +03:00
schnek
fdd11eb71e start rework cmake
msvc.cmake & gcc.cmake & clang.cmake - add check for compiler version
new modules from AscEmu (AE) should be marked for indexing
2022-03-27 20:30:06 +03:00
Zyres
37e07a56f1 Squashed commit of the following:
commit a2fbfae1aba33780d8f67c1a922b2a737d007a80
Author: Zyres <mr@eichbuehlerhof.de>
Date:   Sun Mar 6 07:24:51 2022 +0100

    Update build-test.yml

commit fbab33ab201522db1d1dd1e4d16ce3836dd5f09d
Author: Zyres <mr@eichbuehlerhof.de>
Date:   Sun Mar 6 07:06:26 2022 +0100

    Update config.yml

commit a79bf0b428df16791f7d5ddb4d6cddd8a0c67cdc
Author: Zyres <mr@eichbuehlerhof.de>
Date:   Sun Mar 6 06:57:34 2022 +0100

    Update config.yml

commit 2cc0dba5fd7a03f6ebef029a8262a79c33efd800
Author: Zyres <mr@eichbuehlerhof.de>
Date:   Sun Mar 6 06:52:11 2022 +0100

    Update config.yml

commit 097f988c8fe4fc9f2e31dd876d31748d097712d8
Author: Zyres <mr@eichbuehlerhof.de>
Date:   Sun Mar 6 06:50:56 2022 +0100

    7

commit 0eed49b872400cc76c4f0c82b12511f6470a9eb5
Author: Zyres <mr@eichbuehlerhof.de>
Date:   Sun Mar 6 06:14:44 2022 +0100

    Update gcc.cmake

commit a464edae59676e5d68ad960399c68ad5157238f2
Author: Zyres <mr@eichbuehlerhof.de>
Date:   Sun Mar 6 06:13:27 2022 +0100

    Update gcc.cmake

commit 3512fec5d57919acc5a603941be174f6931fa60f
Author: Zyres <mr@eichbuehlerhof.de>
Date:   Sun Mar 6 06:06:30 2022 +0100

    Update build-test.yml

commit beb5571998a2db414a3f6aafef80a7db1b5547a7
Author: Zyres <mr@eichbuehlerhof.de>
Date:   Sun Mar 6 06:01:30 2022 +0100

    Update gcc.cmake

commit 715fe81e6ff0f0184923a17e8851f67831536f12
Author: Zyres <mr@eichbuehlerhof.de>
Date:   Sun Mar 6 05:59:22 2022 +0100

    Update build-test.yml

commit aceb37b7ac0d0852facdf68b13fa4d47f9592100
Author: Zyres <mr@eichbuehlerhof.de>
Date:   Sun Mar 6 05:54:23 2022 +0100

    Update build-test.yml

commit d48388ecfc9a5faa3772447fe84dfa9f84c19d7a
Author: Zyres <mr@eichbuehlerhof.de>
Date:   Sun Mar 6 05:51:04 2022 +0100

    3

commit eba89e76c0d8b7cf602a6545c8627febdbc3fd77
Author: Zyres <mr@eichbuehlerhof.de>
Date:   Sun Mar 6 05:46:05 2022 +0100

    2

commit 3671796b9760c0f80d60416851bd35c758d35233
Author: Zyres <mr@eichbuehlerhof.de>
Date:   Sun Mar 6 05:43:09 2022 +0100

    stuff

commit 9510ca77a951c269f8d0e52c4c308d0b9c84e646
Author: Zyres <mr@eichbuehlerhof.de>
Date:   Sun Mar 6 05:34:11 2022 +0100

    Update build-test.yml

commit 1ce6ba2d987335a316172264598d12b0478b3e35
Author: Zyres <mr@eichbuehlerhof.de>
Date:   Sun Mar 6 05:26:23 2022 +0100

    Update build-test.yml

commit 0438bb96e86a4af81fa13333196e64968745b529
Author: Zyres <mr@eichbuehlerhof.de>
Date:   Sun Mar 6 05:23:29 2022 +0100

    Update build-test.yml
2022-03-06 07:25:12 +01:00
Zyres
d26114a77e c++20 support (wip)
* Commented unused functions
* Updated dep/Stormlib
* Initialize Opcode vector

Tested cata extractors (works in this commit)
Close #995
2022-03-06 05:08:19 +01:00
Appled
e30342d4e3 Welcome to 2022 2022-01-02 04:23:11 +02:00
Zyres
2cfde22d66 Fix a design issue in legacy code
ignore "not real problems" to work on "important" warnings.
2021-11-18 22:22:01 +01:00
Zyres
c1e5656c21 Change msvc warning level to "Wall"
NOTE: we have made a pretty good job in solving warnings, now its time to take the next step ;)
2021-11-18 21:14:38 +01:00
Appled
5c21c97064 Update Windows default warning level to 4 2021-11-16 23:54:36 +02:00
schnek
1c0512543f Do Place spaces between control statements and their parentheses. (#950)
* Do Place spaces between control statements and their parentheses.

* Update FindPCRE.cmake (register)

* Update FindOpenSSL.cmake (tabs)
2021-11-04 19:50:22 +01:00
Zyres
6ad4c86ced Resolving required changes posted by @Appled 2021-11-01 19:11:20 +01:00
Zyres
4908b04e2f Fix for winows...
... we have to find openssl befor checking and setting up sys/comp values.
2021-10-31 20:25:06 +01:00
schnek
c83e08a8eb fix (#1)
* up

* test

* up_win

* Update FindOpenSSL.cmake

* fix: Found OpenSSL

* fix: standarts circleci

* Update Windows.cmake

* Update CMakeLists.txt
2021-10-24 20:48:50 +03:00
Viste
de8b412c11 upd 2021-10-07 11:13:15 +03:00
Viste
a6ab4a83ba Merge branch 'develop' into macosx 2021-10-07 10:36:00 +03:00
sklyarov.kirill
20c4f33a2c upd 2021-10-07 09:50:19 +03:00
Zyres
5deaddab4e Remove LogonStdAfx.h
Change pch function and remove cotire
2021-07-05 21:34:00 +02:00
Zyres
700a96f08f Use cmake included function instead of cotire 2021-07-03 16:51:01 +02:00
sklyarov.kirill
3cebfc70bd ok with that need to use -DOPENSSL_INCLUDE_DIR -DOPENSSL_SSL_LIBRARIES -DOPENSSL_CRYPTO_LIBRARIES 2021-06-02 21:52:56 +03:00
sklyarov.kirill
e8e1517b5e start 2021-06-02 21:26:27 +03:00
Appled
3abc40d2d9 Server: Move SQL update files when making install in Linux, Mac and FreeBSD 2021-05-29 16:53:39 +03:00
Zyres
e24de6c37e Add support for "don't compile unnecessary Scripts from higher Expansions"
Close #858
2021-05-01 19:32:35 +02:00
schnek
92073d6d7e Update msvc.cmake (#849)
AscEmu requires at least Visual Studio 2019 update 16.9
2021-04-01 23:06:25 +02:00
Zyres
2718a1abfd Update PCHSupport.cmake 2021-01-24 15:32:15 +01:00
Zyres
ee017b0abe Update PCHSupport.cmake 2021-01-24 15:21:34 +01:00
Zyres
ad84bd156c Find MySQL files in "Progman Files (x86)" folder if AE is set to Win32
NOTE: You need mysql x86 files if you want to build AE with Win32
2021-01-24 11:19:35 +01:00
Zyres
b9a8374c5c Update FindMySQL.cmake 2021-01-23 14:12:00 +01:00
Zyres
11bcea9842 Update FindMySQL.cmake 2021-01-23 14:03:02 +01:00
Zyres
36a60d7159 Remove delivered mysql source 2021-01-23 12:42:59 +01:00
Appled
ac727cb0d5 Welcome to 2021 2021-01-01 18:25:13 +00:00
Zyres
647bc3533f Turned off CMAKE option "TREAT_WARNINGS_AS_ERRORS"
* This option is for devs and can be turned on as default as soon as we deliver AE without any warnings.
2020-04-29 17:20:43 +02:00
sanctum32
540ac04c00 Core/Build: implemented new cmake option "TREAT_WARNINGS_AS_ERRORS".
Some dependencies for example maybe aren't updated to recent C++ standarts. With this option we can temporally enable/disable warnings treatment as errors
2020-03-29 19:06:01 +03:00
schnek
86b72a2261 Welcome to 2020 2020-01-10 00:18:07 +03:00
Zyres
b7f6c4b47f Update cmake files
* always copy sql files by using the INSTALL project on windows
2019-11-08 21:31:40 +01:00
schnek
b0b097affc Update cmake compiler Visual Studio. (#701)
* Update cmake compiler Visual Studio.

* Update CMakeLists.txt

* Update CMakeLists.txt

* Update : namespace C++17

* Update : namespace C++17
2019-07-31 14:02:42 +02:00
Zyres
d801cbb424 The experimental filesystem and database updater is no longer an option in cmake. 2019-06-23 00:37:54 +02:00
Zyres
f5cdebd615 Replace old pch solution with cotire. (dep/cotire)
world, scripts and logon will now use pch with gcc, clang and msvc.
This should reduce the massive build times on travis. (Reference travis build # 4472 - https://travis-ci.org/AscEmu/AscEmu/builds/549168133)
Msvc compiler heap limit is now set by cotire.
Thanks to Naios at this point.

CreatureAIScript.cpp
- std::random_shuffle was marked as deprecated in c++14 and removed in c++17
2019-06-22 21:59:11 +02:00
Zyres
2ffc279492 Update cmake compiler clang 2019-06-22 20:35:13 +02:00