SHARE
TWEET

Untitled

a guest May 25th, 2019 62 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #if gcc >= 8 use std::filesystem instead of boost
  2. ifeq ($(shell expr $(GCCVER) \>= 8), 1)
  3.     override CXXFLAGS += -std=c++17
  4.     ifeq ($(OS), Darwin)
  5.         FS_LIBS=-lboost_system -lboost_filesystem
  6.     else
  7.         FS_LIBS=-lstdc++fs
  8.     endif
  9. else
  10.     override CXXFLAGS += -std=c++14 -DUSE_BOOST_FS
  11.     ifeq ($(OS), Linux)
  12.         FS_LIBS=-lboost_system -lboost_filesystem
  13.     else ifeq ($(OS), Darwin)
  14.         FS_LIBS=-lboost_system -lboost_filesystem
  15.     else
  16.         FS_LIBS=-lboost_system-mt -lboost_filesystem-mt
  17.     endif
  18. endif
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top