PlatformSupport.hpp 500 B

123456789101112
  1. #pragma once
  2. #if __APPLE__
  3. static std::string openScadPath = "/Applications/OpenSCAD.app/Contents/MacOS/OpenSCAD";
  4. static std::string fileDelimiter = "/";
  5. #elif __unix__
  6. static std::string openScadPath = "openscad";
  7. static std::string fileDelimiter = "/";
  8. #elif defined(WIN32) || defined(_WIN32) || defined(__WIN32__) || defined(__NT__) || defined(_WIN64)
  9. static std::string openScadPath = "\"C:\\Program Files\\OpenSCAD\\openscad.exe\"";
  10. static std::string fileDelimiter = "\\";
  11. #endif