PlatformSupport.hpp 482 B

12345678910111213
  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. // Currently unsupported
  10. static std::string openScadPath = "";
  11. static std::string fileDelimiter = "\\";
  12. #endif