diff --git a/Solver/function.cpp b/Solver/function.cpp index e8db646bb5b4a8f10a748c237ab36db26b5c1684..154f188e1506c4915a0f2584f6b8e2c2ae8178e4 100644 --- a/Solver/function.cpp +++ b/Solver/function.cpp @@ -365,6 +365,10 @@ class functionC : public function { void (*callback)(void); public: static void buildLibrary(std::string code, std::string filename) { + //todo use CMAKE_CXX_COMPILER + //todo use clean temporary file names + //todo work on windows :-) + //todo if DG_BUILD_DIR is not defined, use the directory used at compilation time FILE *tmpSrc = fopen("_tmpSrc.cpp","w"); fprintf(tmpSrc, "%s\n",code.c_str()); fclose(tmpSrc);