Commit Graph

58 Commits

Author SHA1 Message Date
Deukhoofd be81082588
Fixes GCC build
continuous-integration/drone/push Build is passing Details
2022-03-11 11:32:44 +01:00
Deukhoofd 2bf12ab879
Update doctest
continuous-integration/drone/push Build is failing Details
2022-03-11 11:06:44 +01:00
Deukhoofd ba411d011b
Cleanup exception stacktraces, so the compile the same on Windows.
continuous-integration/drone/push Build is failing Details
Stacktraces still appear to be empty on Windows, but that's an issue for a later day.
2022-02-26 14:55:28 +01:00
Deukhoofd 7532e4d94d
Only statically link libm and pthread on Windows 2022-02-12 13:45:55 +01:00
Deukhoofd 26db32299d
Change TESTS option to ARBUTILS_TESTS
continuous-integration/drone/push Build is failing Details
2022-02-05 15:45:11 +01:00
Deukhoofd 656de2ab17
Only add doctest when tests are enabled
continuous-integration/drone/push Build is passing Details
2022-02-05 13:51:50 +01:00
Deukhoofd ea2fa7b547
Dont build our dependencies, they have header only implementations in their repos.
continuous-integration/drone/push Build is passing Details
2022-02-05 13:48:13 +01:00
Deukhoofd f5690363da
Moves extern dependencies to CPM
continuous-integration/drone Build is failing Details
2022-02-05 13:37:47 +01:00
Deukhoofd 999dc675fa
Remove precompiled header, as it only caused issues.
continuous-integration/drone/push Build is failing Details
2021-10-30 12:54:57 +02:00
Deukhoofd ec3c8e7701
Handle THROW macro in its own scope.
continuous-integration/drone/push Build is passing Details
2021-08-22 11:35:08 +02:00
Deukhoofd eb662cb2e4
If Windows and shared, force .dll extension.
continuous-integration/drone/push Build is passing Details
2021-04-30 14:36:31 +02:00
Deukhoofd 47ee3a0295
When we were doing STATICC we were linking libdw dynamically, still requiring many dependencies. THis switches to libbfd, which should massively reduce the number of required libraries.
continuous-integration/drone/push Build is passing Details
2021-03-26 13:37:01 +01:00
Deukhoofd 28ba531a47
Work on reducing file sizes, by adding fewer debug symbols.
continuous-integration/drone/push Build is passing Details
2020-12-31 13:48:52 +01:00
Deukhoofd b3c9c95345
Add Debug compile flag if we're building in debug mode.
continuous-integration/drone/push Build is passing Details
2020-12-23 12:04:55 +01:00
Deukhoofd 09bc55ec94
Allow disabling signal handling, turn signal handling off by default.
continuous-integration/drone/push Build is failing Details
2020-10-18 17:18:27 +02:00
Deukhoofd 77e9f3f768
Revert "Make CInterface exported functions be contained in .h files, instead of .cpp."
continuous-integration/drone/push Build is passing Details
This reverts commit 9abdbecd
2020-10-02 18:44:29 +02:00
Deukhoofd 9abdbecd17
Make CInterface exported functions be contained in .h files, instead of .cpp. 2020-09-25 12:00:44 +02:00
Deukhoofd 3e9fd2bea8
Switch from Catch2 to DocTest for unit tests.
continuous-integration/drone/push Build is passing Details
2020-09-25 11:50:53 +02:00
Deukhoofd 51c7ba1c50
Use a precompiled header for many std includes.
continuous-integration/drone/push Build is passing Details
2020-09-25 11:06:55 +02:00
Deukhoofd 49ca3d0426
Use LLD as linker when we build with Clang.
continuous-integration/drone/push Build is passing Details
2020-09-21 12:37:34 +02:00
Deukhoofd 514186a1e6
Remove thinlto, causes more issues than it helps.
continuous-integration/drone/push Build is passing Details
2020-09-18 19:32:50 +02:00
Deukhoofd 38f36699ac
Only use ThinLTO for shared libraries.
continuous-integration/drone/push Build is passing Details
2020-09-12 16:59:07 +02:00
Deukhoofd b6de3a730b
Use ThinLTO for Clang.
continuous-integration/drone/push Build is failing Details
2020-09-12 16:50:36 +02:00
Deukhoofd 8dac6c632b
Link pthread statically.
continuous-integration/drone/push Build is passing Details
2020-08-20 12:54:37 +02:00
Deukhoofd d59c13a34d
Allow disabling pretty traces and remove dependency on libdw.
continuous-integration/drone/push Build is passing Details
2020-08-17 20:08:23 +02:00
Deukhoofd 5c0c0878a6
Fixed issue where compile options were added too late.
continuous-integration/drone/push Build is failing Details
2020-08-16 17:24:37 +02:00
Deukhoofd 34ba9331ed
Only add debug symbols on Linux build
continuous-integration/drone/push Build is failing Details
2020-08-16 17:18:12 +02:00
Deukhoofd 620248f329
Include debug symbols in Release build, rework exception stack trace.
continuous-integration/drone/push Build is failing Details
2020-08-16 16:59:13 +02:00
Deukhoofd 0a2acc1eea
Link stacktrace to library instead of test executable.
continuous-integration/drone/push Build is passing Details
2020-08-15 14:58:44 +02:00
Deukhoofd e778b61839
Don't use stacktrace on Windows.
continuous-integration/drone/push Build is failing Details
2020-08-15 14:19:36 +02:00
Deukhoofd f29e111b78
Support new exception type with stack trace.
continuous-integration/drone/push Build is failing Details
2020-08-15 13:31:16 +02:00
Deukhoofd 287b50fb2f
Exception handling for the C Interface.
continuous-integration/drone/push Build is passing Details
2020-07-19 11:08:05 +02:00
Deukhoofd 4f5ae70634
Cleanup for the cmake file.
continuous-integration/drone/push Build is failing Details
2020-07-17 12:15:32 +02:00
Deukhoofd eb3e174877
Reset to before c++20 features that required clang.
continuous-integration/drone/push Build is passing Details
2020-07-12 15:06:20 +02:00
Deukhoofd ab7504e79a
Further fixes in the hope of fixing conan.
continuous-integration/drone/push Build is passing Details
2020-07-12 13:36:20 +02:00
Deukhoofd 03d1ff23e1
Log exact cmake command used by conan.
continuous-integration/drone/push Build is passing Details
2020-07-12 12:26:38 +02:00
Deukhoofd 1ddbfb09b9
Test to see if this works better with Conan.
continuous-integration/drone/push Build is passing Details
2020-07-12 11:46:48 +02:00
Deukhoofd 592e3c3ffe
Found a better way to remove -fPIC flag for Windows build.
continuous-integration/drone/push Build is passing Details
2020-07-12 10:19:21 +02:00
Deukhoofd 61aa266737
More work on figuring out wclang with conan.
continuous-integration/drone/push Build is passing Details
2020-07-11 14:24:10 +02:00
Deukhoofd e578331001
Dont use mingw linker
continuous-integration/drone/push Build is passing Details
2020-07-11 14:06:33 +02:00
Deukhoofd f873dc97bf
Several fixes for new build, ensuring we build DLLs for Windows, and that the proper libraries are included.
continuous-integration/drone/push Build is failing Details
2020-07-11 13:46:48 +02:00
Deukhoofd d9aca71d32
Update to new Windows build container
continuous-integration/drone/push Build is failing Details
2020-07-10 14:12:22 +02:00
Deukhoofd 0d2bec95e8
C Interface for random class. 2020-07-10 09:30:10 +02:00
Deukhoofd abca51d331
Large rework of the project, specifically the String classes.
continuous-integration/drone/push Build is passing Details
2020-06-26 15:56:00 +02:00
Deukhoofd 1e90ca80fe
Don't link statically, but copy libwinpthread for Windows build.
continuous-integration/drone/push Build is failing Details
2020-05-03 12:35:17 +02:00
Deukhoofd 444816ce1b
Link everything statically if StaticC is defined.
continuous-integration/drone/push Build is failing Details
2020-05-03 12:31:23 +02:00
Deukhoofd f99243481e
Better support for linking C libraries statically.
continuous-integration/drone/push Build is failing Details
2020-05-03 12:27:22 +02:00
Deukhoofd 84b08f66e5
Fixes for ConstString
continuous-integration/drone/push Build is passing Details
2020-05-02 15:30:25 +02:00
Deukhoofd 517f95bfc5
Support for building Static
continuous-integration/drone/push Build is passing Details
2020-05-02 12:31:04 +02:00
Deukhoofd c230f8b11c
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."
This reverts commit 978fa704
2020-04-21 10:19:49 +02:00