Tristan Brindle
e05237b068
Don't attempt to link libstdc++fs when using Clang
On MacOS and (I think) most BSDs the default standard library is libc++, and so attempting to link with libstdc++fs does not work.
On Linux, where (AFAIK) most distros use Clang/libstdc++, this is going to mean link-time failures when using std::filesystem. In this case the user can add Link-Flags: -lstdc++fs to their toolchain file themselves as a fix.
5 vuotta sitten
Tristan Brindle
39e44914bc
(Attempted) fix for Clang not working with MacOS
This is intended to fix #11 .
Unfortunately I haven't been able to successfully build DDS yet to actually try it out, but looking at the surrounding code it seems like the right solution...
5 vuotta sitten
vector-of-bool
5a2a91659f
New throw_user_errors for better error messages
5 vuotta sitten
vector-of-bool
2acc93bf0d
More error messages
5 vuotta sitten
vector-of-bool
13a297ac32
Error page for package layout issues
5 vuotta sitten
vector-of-bool
f351b05817
More did-you-mean errors for config files
5 vuotta sitten
vector-of-bool
931af4895a
"Did you mean" functionality is ready, but needs to be integrated everywhere
5 vuotta sitten
vector-of-bool
725755b8b7
Print signal-exits from tests
5 vuotta sitten
vector-of-bool
07ca7e03d9
The `depends` key is optional in JSON import
5 vuotta sitten
vector-of-bool
6ae7eeb23f
Flag to read stdin for `catalog import`
5 vuotta sitten
vector-of-bool
bb78f5ed2b
`catalog show` to get info on a package
5 vuotta sitten
vector-of-bool
051fc2a690
Catalog package can have descriptions
5 vuotta sitten
vector-of-bool
c0282d3881
Be sure to print linker output on link failure
5 vuotta sitten
vector-of-bool
c397e07996
Point the error link to our now-hosted docs
5 vuotta sitten
vector-of-bool
137bfca94d
More errors!
5 vuotta sitten
vector-of-bool
25f2efcc35
More error docs
5 vuotta sitten
vector-of-bool
f75b7f0fa4
Error message for git acquisition
5 vuotta sitten
vector-of-bool
5c4caf4eb1
Working on new error reporting and troubleshooting
5 vuotta sitten
vector-of-bool
b7a3376902
Formatting
5 vuotta sitten
vector-of-bool
4d6edd47e2
Missing `#include`
5 vuotta sitten
vector-of-bool
7036e55a94
Tweak formatting in dep failure messages
5 vuotta sitten
vector-of-bool
88f851fe79
Tweak error punct and alignment
5 vuotta sitten
vector-of-bool
17ecc2b652
We have dependency resolution failure explanations!
5 vuotta sitten
vector-of-bool
408edfe065
Pull in neo-fun, small refactors, and delete some unused code
5 vuotta sitten
vector-of-bool
c9d6907c1c
Remove incorrect `noexcept`
5 vuotta sitten
vector-of-bool
5c1b193a19
Support distinguishing "external" headers
5 vuotta sitten
vector-of-bool
c481b92f94
Emit a libman index for build-deps
5 vuotta sitten
vector-of-bool
b12bdf83ec
Separate type to record dependencies only
5 vuotta sitten
vector-of-bool
cef6707c36
`build-deps` command to build a set of dependencies
5 vuotta sitten
vector-of-bool
93ce3abbdf
Remove old build code
5 vuotta sitten
vector-of-bool
b99d957bc3
Complete refactoring of builds
- Build execution is now entirely oriented around source distributions.
- Make a lot of build plan objects and methods more agnostic to the
build environment. This allows more flexibility and delays generation
of some build metadata, such that we are able to more easily generate
usage requirements data between libraries in the project.
5 vuotta sitten
vector-of-bool
c2b95d3ee6
We don't need file hashing yet
5 vuotta sitten
vector-of-bool
4a703dc119
Fix file deps tracking: Normalize paths better, and replace mtimes correctly!
5 vuotta sitten
vector-of-bool
fcf2b96dcf
Fix link error in MSVC
5 vuotta sitten
vector-of-bool
d053b0aef1
Rearrange `source_*` types
5 vuotta sitten
vector-of-bool
da49eca4d3
More cleanup, rename `source()` -> `collect_sources()`
5 vuotta sitten
vector-of-bool
78ea9d2299
Comment on how `file_deps` works
5 vuotta sitten
vector-of-bool
31277e3034
Reformat
5 vuotta sitten
vector-of-bool
0ec459349f
Use `file_deps` to name file interdependencies
5 vuotta sitten
vector-of-bool
6733934ddd
Cleanup for `build_plan`
5 vuotta sitten
vector-of-bool
9d6e12596e
Cleanup link_executable_plan
5 vuotta sitten
vector-of-bool
748fc75429
`compile_file_plan` cleanup
5 vuotta sitten
vector-of-bool
8d08a1f115
Cleanup compile_exec
5 vuotta sitten
vector-of-bool
c182193931
Some database operations are const-safe
5 vuotta sitten
vector-of-bool
6e471b7880
Cleanup for `library_plan`, and put executables in subdirs. (Required moving dds.main.cpp)
5 vuotta sitten
vector-of-bool
11aaf47891
Doc comments and cleanup for create_archive_plan
5 vuotta sitten
vector-of-bool
20f8b070d3
Fix transposed lm namespace/name
5 vuotta sitten
vector-of-bool
6f8b23691b
Catalog doesn't do any solving, only the repo with the catalog's help
5 vuotta sitten
vector-of-bool
a2b36cc5df
Downloading deps now takes place as part of the main build
5 vuotta sitten
vector-of-bool
c74b73cfcb
Create the catalog's parent dir before opening
5 vuotta sitten