Commit Graph

71 Commits

Author SHA1 Message Date
Deukhoofd 0acc1a2c8e
Add option for address sanitizer in tests, fixes valgrind in drone
continuous-integration/drone/push Build encountered an error Details
2022-03-22 18:16:00 +01:00
Deukhoofd 47cc77f0e5
Add support for AddressSanitizer to unit tests
continuous-integration/drone/push Build is failing Details
2022-03-22 12:30:10 +01:00
Deukhoofd a99e3e2d6c
Fixes GCC build
continuous-integration/drone/push Build is passing Details
2022-03-12 10:33:16 +01:00
Deukhoofd d9dda8433e
Update doctest
continuous-integration/drone/push Build is failing Details
2022-03-11 11:07:25 +01:00
Deukhoofd 851cb11f11
Usde libdw instead of bfd
continuous-integration/drone/push Build is failing Details
2022-02-26 15:22:11 +01:00
Deukhoofd 6da591dd92
linker fixes
continuous-integration/drone/push Build is passing Details
2022-02-12 14:00:50 +01:00
Deukhoofd 2a8126e151
Change cmake option TESTS --> CREATURELIB_TESTS
continuous-integration/drone/push Build is passing Details
continuous-integration/drone Build is passing Details
2022-02-05 15:52:03 +01:00
Deukhoofd 712be48e06
Always create include link for Arbutils
continuous-integration/drone/push Build is passing Details
2022-02-05 14:45:10 +01:00
Deukhoofd 48b11f8179
Handle dependencies through CPM
continuous-integration/drone/push Build is passing Details
2022-02-05 13:59:15 +01:00
Deukhoofd e1d8348b2f
Fixes project being completely dirty every build requiring constant full rebuilds and slowing down tooling.
continuous-integration/drone/push Build is passing Details
Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
2021-10-30 14:24:38 +02:00
Deukhoofd b84db6aa2d
Actually use the given libtype when building library
continuous-integration/drone/push Build is passing Details
Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
2021-08-29 16:03:19 +02:00
Deukhoofd ef50b4c7ab
Pass on options to Arbutils
continuous-integration/drone/push Build is failing Details
Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
2021-04-12 19:05:30 +02:00
Deukhoofd b5d8b89c38
Friendship with conan is over, ExternalProject is my best friend now.
continuous-integration/drone/push Build is failing Details
Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
2021-04-12 18:50:50 +02:00
Deukhoofd 6ef8edc2df
Update CreatureLib to changed stacktraces in Arbutils.
continuous-integration/drone/push Build is passing Details
Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
2021-03-26 14:09:22 +01:00
Deukhoofd d70c6a224a
Fixes for growth rates, forces shared library to be dll on Windows.
Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
2021-03-07 09:43:52 +01:00
Deukhoofd 941927336e
Reduce file size by using IPO and LTO.
continuous-integration/drone/push Build is passing Details
Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
2020-12-31 13:52:11 +01:00
Deukhoofd 207d4bd799
Reduce file size by only including relevant debug symbols for stacktraces.
Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
2020-12-31 13:51:43 +01:00
Deukhoofd 926a3c5dd8
Document StatisticSet, add constraint that its generic type must be an integer type.
Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
2020-09-30 18:53:18 +02:00
Deukhoofd dd8847a441
Re-add different level sizes in Defines.
continuous-integration/drone/push Build is passing Details
Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
2020-09-27 11:25:32 +02:00
Deukhoofd 53bfbd36c2
Use a precompiled header.
continuous-integration/drone/push Build is failing Details
Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
2020-09-25 13:05:15 +02:00
Deukhoofd 5970dc5d90
Switch unit test library from Catch2 to DocTest.
continuous-integration/drone/push Build is failing Details
Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
2020-09-25 12:43:08 +02:00
Deukhoofd 5b10dac514
Use LLD as linker when using clang.
continuous-integration/drone/push Build is passing Details
Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
2020-09-21 12:51:45 +02:00
Deukhoofd a5d7db2077
Remove unused LEVEL_SIZE defines for now.
continuous-integration/drone/push Build is passing Details
Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
2020-09-19 12:03:41 +02:00
Deukhoofd 2bb1f2ed4a
Remove thinlto, causes more issues than it helps.
continuous-integration/drone/push Build is passing Details
Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
2020-09-18 19:46:10 +02:00
Deukhoofd aaaad658b0
Use ThinLTO for shared library building.
continuous-integration/drone/push Build is passing Details
Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
2020-09-12 17:04:43 +02:00
Deukhoofd 9547b92f14
Log level size used in cmake.
continuous-integration/drone/push Build is passing Details
Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
2020-08-22 10:21:39 +02:00
Deukhoofd a5d5257420
Tweaks and fixes for Windows
continuous-integration/drone/push Build is failing Details
Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
2020-08-20 15:12:19 +02:00
Deukhoofd 39e1295013
Compile time option to change bit size of level.
continuous-integration/drone/push Build is failing Details
Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
2020-08-19 20:11:00 +02:00
Deukhoofd a828e2d09c
Update to latest Arbutils
continuous-integration/drone/push Build is failing Details
Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
2020-08-16 17:41:56 +02:00
Deukhoofd 2b703954a5
Some fixes for stacktraces.
continuous-integration/drone/push Build is failing Details
Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
2020-08-15 17:47:01 +02:00
Deukhoofd 939fee3f50
Add -fconcepts for GCC.
continuous-integration/drone/push Build is passing Details
Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
2020-08-14 14:26:40 +02:00
Deukhoofd 208bb097dd
Make event listeners threaded.
continuous-integration/drone/push Build is failing Details
Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
2020-08-07 12:20:59 +02:00
Deukhoofd c3de280ebb
Fixes for EventHook corruptions, unit tests for EventHooks.
continuous-integration/drone/push Build is passing Details
2020-07-31 18:39:47 +02:00
Deukhoofd a4c4cad59b
Merge the two different libs together into the same library.
continuous-integration/drone/push Build is passing Details
2020-07-31 10:51:03 +02:00
Deukhoofd 29013bb6ac
Fix issue with having two different libraries sharing the same CreatureLib Exception C Interface.
continuous-integration/drone/push Build is passing Details
2020-07-30 20:06:23 +02:00
Deukhoofd 367ed7fcbb
Cleanup CMake file. 2020-07-17 13:12:21 +02:00
Deukhoofd 48639eeee5
Update to new Arbutils
continuous-integration/drone/push Build is passing Details
2020-06-26 17:08:23 +02:00
Deukhoofd f65b2f74bd
Better handling of static c handling.
continuous-integration/drone/push Build is passing Details
2020-05-03 12:45:12 +02:00
Deukhoofd 4e79571e49
Fixed StaticC flag not statically linking to the correct libraries.
continuous-integration/drone/push Build is passing Details
2020-05-02 16:11:41 +02:00
Deukhoofd 8e5dd2fca5
Rework of cmake file.
continuous-integration/drone/push Build is failing Details
2020-05-02 15:55:31 +02:00
Deukhoofd 27fb623a43
Try linking everything statically in Windows build
continuous-integration/drone/push Build is failing Details
2020-05-02 14:29:49 +02:00
Deukhoofd 8b30078411
Remove explicit option of shared or static in Windows build.
continuous-integration/drone/push Build is failing Details
2020-05-02 14:24:39 +02:00
Deukhoofd 0eaf8852a1
Attempt to use static Arbutils for Windows build.
continuous-integration/drone/push Build is failing Details
2020-05-02 14:20:20 +02:00
Deukhoofd 09ec643cf9
Fixes for Creature C Interface construct method having C++ classes.
continuous-integration/drone/push Build is failing Details
2020-05-02 14:14:29 +02:00
Deukhoofd 75baf19ebd
Cleanup 2020-04-22 21:20:07 +02:00
Deukhoofd 0260f3688e
Revert "Don't link C libraries statically by default for Windows, as this isn't needed if another library has their own C libraries already has them statically linked."
continuous-integration/drone/push Build is passing Details
This reverts commit e35f860b
2020-04-21 10:22:17 +02:00
Deukhoofd e35f860b84
Don't link C libraries statically by default for Windows, as this isn't needed if another library has their own C libraries already has them statically linked.
continuous-integration/drone/push Build is passing Details
2020-04-12 10:54:47 +02:00
Deukhoofd 7ce3e6940d
Rework for C Interfaces to handle exceptions a bit better.
continuous-integration/drone/push Build is passing Details
2020-03-25 19:09:17 +01:00
Deukhoofd a7b87ab4f8
Merge Core library into Library, as with its utility functionality merged into Arbutils, it's becoming less and less useful.
continuous-integration/drone/push Build is failing Details
2020-03-22 10:11:53 +01:00
Deukhoofd ea8afcd0b3
C interface for BattleLibrary.
continuous-integration/drone/push Build is passing Details
2020-03-04 17:04:44 +01:00