From: Juan Prieto Date: Wed, 23 Jun 2010 09:31:33 +0000 (+0000) Subject: create directory in windows X-Git-Tag: CREATOOLS.2-0-3~15 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=3d8b31867ebe08f48d9e542f8206bd60238c83b8;p=crea.git create directory in windows --- diff --git a/appli/creaNewProject/NewProject/doc/UserDoxygen/CMakeLists.txt b/appli/creaNewProject/NewProject/doc/UserDoxygen/CMakeLists.txt index f48d51f..92aa60d 100644 --- a/appli/creaNewProject/NewProject/doc/UserDoxygen/CMakeLists.txt +++ b/appli/creaNewProject/NewProject/doc/UserDoxygen/CMakeLists.txt @@ -24,7 +24,7 @@ SET(INPUT INCLUDE(../../cmake/UserBuildDoxygenDoc.cmake) USER_BUILD_DOXYGEN_DOC( - "${PROJECT_NAME}" + "${PROJECT_NAME}_dox" "${INPUT}" "${PROJECT_NAME}" "${DOXYGEN_DOC_PREDEFINED}" diff --git a/src/creaSystem.cxx b/src/creaSystem.cxx index 49ca11f..1346a08 100644 --- a/src/creaSystem.cxx +++ b/src/creaSystem.cxx @@ -230,8 +230,14 @@ std::string System::GetExecutablePath(){ void System::createDirectory(const char* directorypath){ #ifdef WIN32 - //TODO - CreateDirectory(directorypath); + if (CreateDirectory(directorypath, NULL) == ERROR_ALREADY_EXISTS) + { + std::cout<<"directory already exists "<