Gabriel Ravier
8f4ef85cf8
CMakeLists: Add CMake 3.8 support
...
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2020-04-17 19:48:12 +02:00
Gabriel Ravier
99d4a6fbd4
CMakeLists: Added support for CMake 3.10.2
...
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2020-04-16 11:20:53 +02:00
Clownacy
0aa65f7cd3
Fix pkg-config static linking
...
For some reason, [LIB]_STATIC_LINK_LIBRARIES is blank. Thanks a lot,
CMake.
2020-04-05 16:58:52 +01:00
Clownacy
dded47f921
Cleanup
2020-04-03 02:00:51 +01:00
Clownacy
f45758e845
Add missing dependencies
2020-04-03 01:52:54 +01:00
Clownacy
5b996b3459
Give glad a CMake file
...
Today I learned that CMake will error if the project shares a
dependency with a nested CMake file (which could be from an
entirely-separate project that you have no control over).
I'm starting to really hate CMake.
2020-04-03 01:34:47 +01:00
Clownacy
3f4bbc2c5d
Add some options to DoConfig's CMake
2020-04-02 22:18:46 +01:00
Clownacy
7d30407206
Use LINK_LIBRARIES instead of LIBRARIES
...
macOS Travis complains about not finding -lSDL2, so use absolute
paths instead.
2020-04-02 20:57:16 +01:00
Clownacy
76bb17dc01
Allow the new DoConfig to link local GLFW3
2020-04-02 20:12:21 +01:00
Clownacy
69e0a17e90
Fix DoConfig for its new location
2020-04-02 19:59:06 +01:00
Clownacy
c9dbc5607e
Delete old DoConfig
2020-04-02 19:58:03 +01:00
Clownacy
1839370ae9
More warnings
2020-04-02 00:29:57 +01:00
Clownacy
7d4fda54ef
Fix errors
2020-03-14 22:50:04 +00:00
Clownacy
b84601cceb
Update DoConfig and bin2h CMake files
2020-03-14 22:41:14 +00:00
Clownacy
14735caac3
Mark CMake target thingies as private
2020-02-29 18:19:06 +00:00
Clownacy
f1740a2c5e
Add native-optimisations and LTO to DoConfig and bin2h
...
Forgot bin2h even had a CMake file
2020-01-30 01:19:45 +00:00
Clownacy
413fe560e4
Add LTO toggle to DoConfig CMakeLists.txt
2020-01-23 01:00:07 +00:00
Clownacy
c45e888b74
Improve CMake style consistency
2020-01-23 00:59:27 +00:00
Clownacy
92e5647f11
More CMake capitalisation
2020-01-20 22:06:52 +00:00
Clownacy
22f737e139
Add WARNING 'option's to bin2h and DoConfig
2019-10-29 11:54:08 +00:00
Clownacy
404d748da7
Rename ALL_WARNINGS and FATAL_WARNINGS
...
This way, all three options appear neatly together when 'cmake -LH'
is ran.
2019-10-29 11:53:02 +00:00
Clownacy
68fceb63c4
Merge pull request #63 from GabrielRavier/addWarnings2
...
Add warnings
2019-10-29 11:44:13 +00:00
Gabriel Ravier
d40376ff35
Removed bin2h mentions in CMakeLists, moved warnings options and FORCE_LOCAL_LIBS into a seperate block where the descriptions were improved and added warnings to DoConfig
...
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-10-29 10:03:13 +01:00
Clownacy
4e99c97fee
Merge pull request #64 from GabrielRavier/fixMSVCUtf8
...
Make MSVC recognize source files as UTF-8
2019-10-28 19:00:17 +00:00
Gabriel Ravier
94442d9ce3
Made it so MSVC interprets source files as UTF-8 to fix compile
...
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-10-28 18:22:31 +01:00
Clownacy
15ad469f67
Shut up that CMake OpenGL warning
...
What's so hard about CMake *just working*? Why do I have to jump
through all these stupid hoops?
2019-10-27 18:20:44 +00:00
Gabriel Ravier
a9f95ed1a2
Changed some comments and messages in CMakeLists.txt
...
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2019-09-11 08:24:00 +02:00
Clownacy
60bc16b161
Make CMake ignore if FLUID can't be found
...
Fixes #45
2019-09-10 12:23:50 +00:00
Clownacy
537d777536
Revert "Removed the DoConfig folder"
...
This reverts commit afb3e2f83e
.
This branch needs this
2019-09-05 12:49:35 +00:00
Clownacy
afb3e2f83e
Removed the DoConfig folder
...
It's just a clone. A proper decompilation will be added some other
time.
2019-09-05 12:45:11 +00:00
Clownacy
50897e8ceb
Move DoConfig_debug naming to the root CMakeLists.txt
2019-05-23 21:29:32 +01:00
Clownacy
21cef10e4b
Fixed incorrect debug executable names
2019-05-23 11:10:11 +00:00
Clownacy
609d54916b
Renamed debug builds to 'CSE2_debug' and 'DoConfig_debug'
...
Makes a bit more sense than 'CSE2d' and 'DoConfigd'
2019-05-22 00:29:16 +00:00
Clownacy
6ef6f0f5c0
Tweak how FORCE_LOCAL_LIBS works
2019-05-05 14:19:40 +01:00
Clownacy
6dc85875ff
Changed output executable naming scheme
...
Now the Makefile and CMake build systems are identical:
Release builds are named CSE2, and debug builds are named CSE2d.
Language no longer has an effect on filename for the Makefile.
2019-05-05 03:14:58 +01:00
Clownacy
6288ec0355
Made DoConfig self-contained
2019-05-02 18:20:47 +01:00