X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/390322eb82e3676ea5fad6b4320e8999fedaa2a8..4aa1db33d4c97c83352c2d04cc60032f64b74b5a:/buildtools/Cmake/GenerateDocWin.cmake diff --git a/buildtools/Cmake/GenerateDocWin.cmake b/buildtools/Cmake/GenerateDocWin.cmake index 46ef1c6136..71b7f8dba0 100644 --- a/buildtools/Cmake/GenerateDocWin.cmake +++ b/buildtools/Cmake/GenerateDocWin.cmake @@ -1,23 +1,23 @@ #### Generate the html documentation -find_path(WGET_PATH NAMES wget.exe PATHS NO_DEFAULT_PATHS) +find_path(WGET_PATH NAMES wget.exe PATHS NO_DEFAULT_PATHS) find_path(NSIS_PATH NAMES makensis.exe PATHS NO_DEFAULT_PATHS) message(STATUS "wget: ${WGET_PATH}") message(STATUS "nsis: ${NSIS_PATH}") if(WGET_PATH) - ADD_CUSTOM_TARGET(simgrid_documentation - COMMENT "Downloading the SimGrid documentation..." - COMMAND ${WGET_PATH}/wget.exe -r -np -nH -nd http://simgrid.gforge.inria.fr/simgrid/${release_version}/doc/ - WORKING_DIRECTORY ${CMAKE_HOME_DIRECTORY}/doc/html - ) -endif(WGET_PATH) + ADD_CUSTOM_TARGET(simgrid_documentation + COMMENT "Downloading the SimGrid documentation..." + COMMAND ${WGET_PATH}/wget.exe -r -np -nH -nd http://simgrid.gforge.inria.fr/simgrid/${release_version}/doc/ + WORKING_DIRECTORY ${CMAKE_HOME_DIRECTORY}/doc/html + ) +endif() if(NSIS_PATH) -ADD_CUSTOM_TARGET(nsis - COMMENT "Generating the SimGrid installor for Windows..." - DEPENDS simgrid gras graphicator gras_stub_generator tesh simgrid-colorizer simgrid_update_xml - COMMAND ${NSIS_PATH}/makensis.exe simgrid.nsi - WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/ -) -endif(NSIS_PATH) \ No newline at end of file + ADD_CUSTOM_TARGET(nsis + COMMENT "Generating the SimGrid installor for Windows..." + DEPENDS simgrid simgrid graphicator simgrid-colorizer simgrid_update_xml + COMMAND ${NSIS_PATH}/makensis.exe simgrid.nsi + WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/ + ) +endif()