Commit Graph

7 Commits

Author SHA1 Message Date
Ethan Roseman 6de4e9a163
3 funcs needed for some mwcc compilers (#22)
* 3 funcs needed for some mwcc compilers

* some PR feedback

* lots more via pair programming with Simon

* cleanup, add test dir as an include dir for tests

* bugfix
2022-09-24 23:59:30 +09:00
Simon Lindholm c47665f8ae Improve TIB 2022-07-28 00:13:36 +02:00
Mark Street 11bdc5e8a2
move dlls into dll/ dir (#16) 2022-07-18 09:54:17 -04:00
Ryan Burns b86a542fe2
Explicitly link std::filesystem as needed (#14)
* Fix cmake install command

PROGRAMS specifies executable files, while TARGETS specifies cmake
targets. This install command happened to work when doing an in-tree
build (build dir == source dir) but will otherwise fail.

* Explicitly link std::filesystem as needed

On some older compilers, std::filesystem is provided as a separate
library from the C++ standard library. For example, on GCC 8, one must
explicitly link with -lstdc++fs.

We can use a drop-in https://github.com/vector-of-bool/CMakeCM module to
automate detection of and linking against this auxiliary library when needed.

* Add missing include

std::min is in <algorithm> header
This is transitively included in libstdc++ (GCC)
but not in libc++ (Clang)

(Encountered when testing -lc++fs auxiliary library linking in Clang 7)
2022-07-08 02:02:27 +09:00
Ethan Roseman fae4219d7f
Revert "Add -lstdc++fs to cmake for older GCC (#11)" (#12)
This reverts commit 583769d7c8.
2022-07-07 03:26:16 +09:00
BR- 583769d7c8
Add -lstdc++fs to cmake for older GCC (#11) 2022-07-07 03:21:18 +09:00
Luke Street 4ae7bba638
Add CMakeLists.txt (#8)
* Add CMakeLists.txt

* Use CMake in CI

* Remove Makefile & update README.md
2022-07-06 20:03:19 +09:00