DarkflameServer/dGame
jadebenn c7dd8205a4
feat: Make use of CMake presets to enable easy switching between debug and release configurations on all platforms (#1439)
* Add MSVC optimization flags

* test moving flags to json

* Update CMakePresets.json

* testing

* trying more variations on the flags

* third test

* testing if these even have any effect

* ditto

* final(?) try for now

* ONE MORE TIME

* trying 'init' flags instead

* export the compile commands so I can see if they're having any effect

* move out g++ O2 flag

* add Linux debug preset

* update CMake presets

* edit macos presets

* try adding build types back to mac

* macos refuses to work :(

* try using compiler flags for mac instead

* fix typo in windows preset

* build reorganization and experimental clang support

* temporarily remove macos build for testing purposes

* updated cmake workflows

* unexclude toolchain dir

* update .gitignore

* fix build directory issue

* edit build script

* update cmake configs

* attempted docker fix

* try zero-initializinng this struct to solve docker issue

* try fixing macos build

* one last MacOS try for the night

* try disabling an apple-specific build rule

* more fiddling with mac test builds

* try and narrow down the macos build failure cause

* try stripping out all the custom macos test logic again

* I'm really just throwing everything to the wall and seeing what sticks

* more macos tinkering

* implib

* try manual link directory specification

* save me

* aaaaaaaaa

* paths paths paths

* Revert "paths paths paths"

This reverts commit 9a7d86aa6c.

* Revert "aaaaaaaaa"

This reverts commit 338279c396.

* Revert "save me"

This reverts commit bd73aa21a9.

* Revert "try manual link directory specification"

This reverts commit 0c2d40632e.

* Revert "implib"

This reverts commit d41349d6ed.

* Revert "more macos tinkering"

This reverts commit 829ec35b57.

* Revert "I'm really just throwing everything to the wall and seeing what sticks"

This reverts commit 1a05b027fe.

* Revert "try stripping out all the custom macos test logic again"

This reverts commit cc15a26ce8.

* Revert "try and narrow down the macos build failure cause"

This reverts commit 5fd86833fa.

* Revert "more fiddling with mac test builds"

This reverts commit 0f843c02c9.

* Revert "try disabling an apple-specific build rule"

This reverts commit 45ec66e976.

* back to debug messages

* see if this re-breaks mac

* are these messages actually somehow fixing the issue?

* was not actually fixed

* add debug messages (again)

* debug try 2

* change runtime output dir

* rename gcc to gnu

* expand cmake presets

* fix preset

* change defaults

* altered cmake configuration scripts

* disable /WX on MSVC

* update github actions

* update build presets

* change gnu and clang build directories to enable consistent artifact generation

* add RelWithDebInfo presets and move -Werror flag into presets.json

* use DLU_CONFIG_DIR envvar

* CMakePresets indentation

* temp fix for MSVC debug builds
2024-11-17 19:03:54 -06:00
..
dBehaviors consolidate the messagetype enums into a single namespace (#1647) 2024-11-17 18:39:44 -06:00
dComponents Proposal for observers and deferred implementations (#1599) 2024-11-17 18:46:08 -06:00
dEntity fix: Dissolve more CMake dependencies (#1387) 2024-03-05 20:13:24 -06:00
dGameMessages consolidate the messagetype enums into a single namespace (#1647) 2024-11-17 18:39:44 -06:00
dInventory Add more modular saving of config data for items (#1591) 2024-05-22 17:06:52 -07:00
dMission Use the correct bit field for checking whether or not to decrement progress (#1631) 2024-08-11 10:26:25 -07:00
dPropertyBehaviors Add loading from database 2024-05-18 03:36:29 -07:00
dUtilities feat: Make use of CMake presets to enable easy switching between debug and release configurations on all platforms (#1439) 2024-11-17 19:03:54 -06:00
Character.cpp feat: Add some save data tests (#1623) 2024-11-17 16:27:33 -08:00
Character.h feat: Add some save data tests (#1623) 2024-11-17 16:27:33 -08:00
CMakeLists.txt fix: Dissolve more CMake dependencies (#1387) 2024-03-05 20:13:24 -06:00
Entity.cpp Proposal for observers and deferred implementations (#1599) 2024-11-17 18:46:08 -06:00
Entity.h Proposal for observers and deferred implementations (#1599) 2024-11-17 18:46:08 -06:00
EntityManager.cpp feat: Provide SerializeEntity constant reference overload (#1491) 2024-03-06 19:23:24 -06:00
EntityManager.h feat: Provide SerializeEntity constant reference overload (#1491) 2024-03-06 19:23:24 -06:00
LeaderboardManager.cpp chore: Convert LeaderboardManager to use BitStream refs (#1469) 2024-02-26 23:25:45 -06:00
LeaderboardManager.h chore: Convert LeaderboardManager to use BitStream refs (#1469) 2024-02-26 23:25:45 -06:00
PlayerManager.cpp chore: Player class removal (#1445) 2024-02-04 06:29:05 -08:00
PlayerManager.h chore: Player class removal (#1445) 2024-02-04 06:29:05 -08:00
TeamManager.cpp Teams: Default team loot to ffa (#1224) 2023-10-18 09:18:22 -05:00
TeamManager.h Teams: Default team loot to ffa (#1224) 2023-10-18 09:18:22 -05:00
TradingManager.cpp close trade window (#1457) 2024-02-11 21:00:39 -06:00
TradingManager.h close trade window (#1457) 2024-02-11 21:00:39 -06:00
User.cpp fix: use after free and uninitialized memory (#1603) 2024-05-30 23:53:03 -05:00
User.h fix: make include paths consistent (#1390) 2024-01-05 06:33:52 -06:00
UserManager.cpp consolidate the messagetype enums into a single namespace (#1647) 2024-11-17 18:39:44 -06:00
UserManager.h refactor: Database abstraction and organization of files (#1274) 2023-11-17 18:47:18 -06:00