Commit Graph

23 Commits

Author SHA1 Message Date
00955b8920 nc_cxx: actually allow the empty library for stdfs detection 2019-06-28 10:24:23 +10:00
dc52274971 cxx: fix the path to the stdcxxfs test code 2019-06-20 11:45:58 +10:00
e46716472a Revert "cxx: remove test for the filesystem library"
This reverts commit 874bbb2413.
2019-05-06 13:02:15 +10:00
874bbb2413 cxx: remove test for the filesystem library
We no longer use compilers that rely on this library, and the 'null'
case in library detection was broken.
2019-05-05 09:17:49 +10:00
bf694b3085 cxx: use PIC by default so we can produce dynamic libraries 2019-03-03 13:00:27 +11:00
23b5facb81 cxx: print which c++fs libraries are being attempted 2019-02-02 15:01:27 +11:00
525f597d64 cxx: define _FILE_OFFSET_BITS=64 2019-01-04 17:18:07 +11:00
6b7a06ddb7 cxx: don't set stdc++fs globally
Linking to stdc++fs in the wrong order can produce an ICE under GCC.
Linking globally will place stdc++fs at the front of the library list
(which is the trigger for the ICE). We rely on the clients linking
manually where required.
2019-01-02 13:42:54 +11:00
7eb31caa22 cxx: add libcxx-7.0.0 library for std::filesystem 2018-10-15 17:16:26 +11:00
7694a39501 cxx: explicitly enable format macros
This is required to enable format functionality under win32
2018-08-13 14:55:45 +10:00
1c5ded53b3 cxx: update flags for gcc-8.1.0 2018-05-05 14:37:58 +10:00
efaf99ff60 cxx: attempt to enable coloured diagnostics on clang 2018-03-22 15:08:16 +11:00
b3d2938410 cxx: quote the filesystem libraries 2017-12-20 16:12:11 +11:00
157ff8962c cxx: default to using libcxx where possible
using libcxx alleviates some compilation errors under newer clang and
c++17.
2017-08-07 12:58:10 +10:00
770bc543a6 cxx: detect clang library for std::filesystem 2017-05-16 16:59:19 +10:00
cec999bfdf cxx: clear the default cmake cxxflags/cflags
cmake forces some values we don't want. it's better to start from
scratch.
2017-05-12 14:56:47 +10:00
bbe3b5a466 cxx: explicitly clear stdcxxfs library if not required 2017-02-16 19:42:51 +11:00
d106a052a1 nc: protect against multiple invokations 2017-01-25 18:46:41 +11:00
a5d2619f7d cxx: unconditionally link to stdc++fs if found 2017-01-23 21:42:11 +11:00
576a112da8 cxx: add msvc c++ standard test 2017-01-23 14:55:37 +11:00
b389d86391 try to cache results as much as possible 2017-01-18 21:43:30 +11:00
566b98e5cb nc_cxx: make stdc++fs discovery more robust 2017-01-17 21:28:04 +11:00
a57db559e9 initial import 2017-01-17 19:20:12 +11:00