Commit graph

188 commits

Author SHA1 Message Date
heinrich5991 713b3db4a2 CMakeLists.txt: Make the versionsrv's dependency on nethash.cpp explicit 2017-03-28 12:50:19 +02:00
Dennis Felsing 90b51d140a Merge pull request #688 from heinrich5991/pr_ddnet_cmake_client_link_order
Fix link order for the client libraries
2017-03-20 08:29:30 +01:00
heinrich5991 d52870cb35 Remove GREATER_EQUAL (introduced in CMake 3.7) 2017-03-19 17:18:17 +01:00
heinrich5991 57009f6467 Generator expressions using COMPILE_LANGUAGE are only available from 3.3 2017-03-19 17:18:17 +01:00
heinrich5991 efb43ddff8 Remove usages of target_sources
This command would require CMake 3.1.
2017-03-19 17:18:17 +01:00
heinrich5991 5eb2068f75 Check if -fstack-protector-all works before using it
MinGW apparantly accepts this flag, but can't successfully link
afterwards.
2017-03-18 11:55:50 +01:00
heinrich5991 d10ab196f5 Fix link order for the client libraries
Fixes #686.
2017-03-18 01:20:55 +01:00
heinrich5991 5b8052ff9d CMakeLists.txt: Check for _FORTIFY_SOURCE defines even harder 2017-03-13 16:45:27 +01:00
Redix 50be0ab7cf Use static CRT on windows 2017-03-12 17:41:57 +01:00
Redix 2b91785415 Use multiple cores in MSVC 2017-03-12 17:28:42 +01:00
Redix dfdd08ae7a Disable some warnings on win64 2017-03-12 17:28:40 +01:00
Redix 3911504bd9 Minor cmake fixes
zlib is already included in DEPS_CLIENT
2017-03-12 16:19:23 +01:00
Redix 8b418292c2 Fix typo in CMakeLists.txt 2017-03-12 15:56:44 +01:00
heinrich5991 253857e236 CMakeLists.txt: Create the generated source directory
Problem was reported on IRC, in #teeworlds on Quakenet.
2017-03-11 13:25:52 +01:00
heinrich5991 fad7989243 CMakeLists.txt: Check for _FORTIFY_SOURCE before defining it 2017-03-07 16:47:27 +01:00
heinrich5991 51b4a793b8 CMakeLists.txt: Add icon to DDNet executable on Windows 2017-03-07 15:32:11 +01:00
heinrich5991 a6983d329c CMakeLists.txt: Copy over data files and DLLs 2017-03-07 15:24:08 +01:00
heinrich5991 4389737288 CMakeLists.txt: Handle the static library case on Linux 2017-03-07 13:39:23 +01:00
heinrich5991 d98abf35db Rename WEBSOCKETS to CONF_WEBSOCKETS 2017-03-07 13:03:37 +01:00
heinrich5991 c201d7959c Enable -Wdeclaration-after-statement for compat with MSVC 2017-03-07 13:02:37 +01:00
heinrich5991 0d342f139c CMakeLists.txt: Add tools target 2017-03-03 15:23:18 +01:00
heinrich5991 9b0561bbc0 CMakeLists.txt: Add some EXCLUDE_FROM_ALL 2017-03-03 15:17:12 +01:00
heinrich5991 e6dcd94fc4 CMakeLists.txt: Fix Windows build and ignore some more warnings 2017-03-03 15:10:21 +01:00
heinrich5991 8407416042 CMakeLists.txt: Move everything to target_* commands 2017-03-03 15:04:13 +01:00
heinrich5991 0fb13159d5 CMakeLists.txt: Squelch some warnings on Windows 2017-03-03 13:39:06 +01:00
heinrich5991 254793604c CMakeLists.txt: Group sources by directory in MSVC 2017-03-03 13:29:35 +01:00
heinrich5991 1157a9a835 CMakeLists.txt: Windows support? 2017-03-03 12:23:51 +01:00
heinrich5991 a7e68fbf1b CMakeLists.txt: Fix a couple of uninitialized variables 2017-03-03 12:23:51 +01:00
heinrich5991 98f3c82c29 CMakeLists.txt: Fix SQL config 2017-03-03 12:23:51 +01:00
heinrich5991 1c7be368f6 CMakeLists.txt: Make external dependencies to OBJ libs 2017-03-03 12:23:51 +01:00
heinrich5991 e3839e4bf2 CMakeLists.txt: Build tools 2017-03-03 12:23:51 +01:00
heinrich5991 6bf0862c30 Use add_library(... OBJECT ...) for internal targets
Also add a few smaller targets: mastersrv, twping, versionsrv.
2017-03-03 12:23:51 +01:00
heinrich5991 6980bb7b02 Improve the CMakeLists.txt to search for the bundled libs 2017-03-03 12:23:51 +01:00
heinrich5991 4912312fb9 Make dependency errors less fatal, to show all of them at once 2017-02-23 16:29:13 +01:00
necropotame 2815a7e042 Cleanup, better separation between each part, more options, check for missing dependencies 2017-02-23 16:27:33 +01:00
necropotame 8c7608f1bb Set the default build type to 'Release' 2017-02-23 16:23:16 +01:00
necropotame eff3ca8bf3 Change CMake required version from 3.7 to 2.8 2017-02-23 16:23:16 +01:00
heinrich5991 5d61aa0b6e Add CMakeLists.txt that work on my machine
It probably doesn't work on Windows, at least.
2017-02-23 14:16:32 +01:00