SHARE
TWEET

Untitled

a guest Sep 18th, 2019 67 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     grep '^\s*#\s*\(include\|import\)' ${file.absolutePath} >__tmp_include.cpp
  2.     grep -v '^\s*#\s*\(include\|import\)\b' ${file.absolutePath} >__tmp_code.cpp
  3.     touch __tmp_preprocessed.cpp
  4.     if [ -s __tmp_code.cpp ]
  5.     then
  6.         $preprocessCommand __tmp_code.cpp | grep -v ^# >__tmp_preprocessed.cpp
  7.     fi
  8.     cat __tmp_include.cpp >${outputDir.absolutePath}/${file.name}
  9.     cat __tmp_preprocessed.cpp >>${outputDir.absolutePath}/${file.name}
  10.     rm __tmp_*.cpp
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