Closed e-dant closed 1 year ago
I think it would be:
$(uname | grep Darwin && echo '-framework CoreFoundation -framework CoreServices')
This is fixed on next
:
EXTRAS=$(test "$(uname)" = Darwin && echo '-framework CoreFoundation -framework CoreServices')
c++ -std=c++2a -O3 src/tiny-main.cpp -o watcher $EXTRAS
./watcher
On Apple platforms, the user needs to link against two system libraries.
On most (all?) platforms,
c++
should point to the platform's default C++ compiler.We should change
g++
toc++
and put something like$(uname | grep darwin && echo '-framework CoreFoundation -framework CoreServices')
in the compile command from "Quick Start".