#EED SET(CPACK_PACKAGE_ICON "${CMAKE_CURRENT_SOURCE_DIR}/kernel/install/gnome/bbi-icon2.bmp")
# SET(CPACK_NSIS_INSTALLED_ICON_NAME "bin/BBI_EXE.exe")
SET(CPACK_NSIS_DISPLAY_NAME ${PROJECT_NAME})
- SET(CPACK_NSIS_HELP_LINK "http://www.creatis.insa-lyon.fr/creatools/${PROJECT_NAME}")
- SET(CPACK_NSIS_URL_INFO_ABOUT "http://www.creatis.insa-lyon.fr/creatools/${PROJECT_NAME}")
+ SET(CPACK_NSIS_HELP_LINK "http://www.creatis.insa-lyon.fr/site/creatools/${PROJECT_NAME}")
+ SET(CPACK_NSIS_URL_INFO_ABOUT "http://www.creatis.insa-lyon.fr/site/creatools/${PROJECT_NAME}")
SET(CPACK_NSIS_CONTACT "info-dev@creatis.insa-lyon.fr")
SET(CPACK_NSIS_MODIFY_PATH ON)
wxInitAllImageHandlers();
wxString dir = wxDirSelector(_T("Select directory in which to create the project"), _T(""), wxDD_DEFAULT_STYLE | wxDD_DIR_MUST_EXIST );
-
+
if (dir.IsEmpty()) return false;
wxString name = wxGetTextFromUser(_T("Enter project name"),
std::string command1("creaSed.exe ");
std::string command2("del ");
- command += "\"" + crea::wx2std(dir) + "\" \"" + crea::wx2std(name) + "\"";
+ command += "\"" + crea::wx2std(dir) + "\" \"" + crea::wx2std(name) + "\"";
command1 += "\"" + crea::wx2std(dir)+"\\"+crea::wx2std(name)+"\\CMakeLists.txt.in\" " + "NameOfTheProject " + crea::wx2std(name) + "> \"" + crea::wx2std(dir)+"\\"+crea::wx2std(name)+"\\CMakeLists.txt\"";
command2 += "\"" + crea::wx2std(dir)+"\\"+crea::wx2std(name)+"\\CMakeLists.txt.in\"";
if ( ! system ( command.c_str() ) )