add_subdirectory (SSH)
add_subdirectory (LoadLeveler)
add_subdirectory (Slurm)
-add_subdirectory (Vishnu)
+
+# Vishnu is not available for Windows
+IF (NOT WIN32)
+ add_subdirectory (Vishnu)
+ENDIF (NOT WIN32)
# Make a copy of the built value and clear the built value for the next run of cmake
SET(SRC_FILES ${SRC_FILES_BUILD} CACHE INTERNAL "")
#include <fstream>
#include <sstream>
-#ifdef WIN32
-#include <direct.h>
-#endif
-
#include <Batch_NotYetImplementedException.hxx>
#include <Batch_Constants.hxx>
#include <Batch_Utils.hxx>
Couple inputFile = cpt;
// Get absolute paths
- char * buf =
-#ifdef WIN32
- _getcwd(NULL, 0);
-#else
- getcwd(NULL, 0);
-#endif
+ char * buf = getcwd(NULL, 0);
string cwd = buf;
free(buf);
Versatile::const_iterator Vit;
// Create local result directory
- char * buf =
-#ifdef WIN32
- _getcwd(NULL, 0);
-#else
- getcwd(NULL, 0);
-#endif
+ char * buf = getcwd(NULL, 0);
string cwd = buf;
free(buf);
string absdir = (Utils::isAbsolutePath(directory))? directory : cwd + "/" + directory;