Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
no more tesh target on win
[simgrid.git] / buildtools / Cmake / GenerateDocWin.cmake
index 46ef1c6..71b7f8d 100644 (file)
@@ -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()