]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Build html_docs (Sphinx) with CMake
authorvsr <vsr@opencascade.com>
Thu, 1 Nov 2012 09:16:55 +0000 (09:16 +0000)
committervsr <vsr@opencascade.com>
Thu, 1 Nov 2012 09:16:55 +0000 (09:16 +0000)
doc/docutils/CMakeLists.txt

index dd20ee0f9c689d6598749ecec3b0387c94d11e22..1aeff9eb33ce14cbde4abd1b55f04e58ed5ab30b 100755 (executable)
@@ -37,22 +37,22 @@ SET(ALLSPHINXOPTS
 SALOME_CONFIGURE_FILE("${CMAKE_CURRENT_SOURCE_DIR}/conf.py.in" "${CMAKE_CURRENT_BINARY_DIR}/conf.py")                
 
 IF(WINDOWS)
-  SET(SCR "@SET PYTHONPATH=\${CMAKE_INSTALL_PREFIX}\\lib\\python2.6\\site-packages\\salome\;%PYTHONPATH%
-  @SET PYTHONPATH=\${CMAKE_INSTALL_PREFIX}\\bin\\salome\;%PYTHONPATH%
-  @SET PATH=\${CMAKE_INSTALL_PREFIX}\\lib\\salome\;%PATH%
-  @SET PYTHONPATH=\${OMNIORB_ROOT_USER}\\lib\\x86_win32\;%PYTHONPATH%
-  @SET PYTHONPATH=\${OMNIORB_ROOT_USER}\\lib\\python\;%PYTHONPATH%
-  @SET PATH=\${OMNIORB_ROOT_USER}\\lib\\x86_win32\;%PATH%
+  SET(SCR "@SET PYTHONPATH=${CMAKE_INSTALL_PREFIX}\\lib\\python2.6\\site-packages\\salome\;%PYTHONPATH%
+  @SET PYTHONPATH=${CMAKE_INSTALL_PREFIX}\\bin\\salome\;%PYTHONPATH%
+  @SET PATH=${CMAKE_INSTALL_PREFIX}\\lib\\salome\;%PATH%
+  @SET PYTHONPATH=${OMNIORB_ROOT_USER}\\lib\\x86_win32\;%PYTHONPATH%
+  @SET PYTHONPATH=${OMNIORB_ROOT_USER}\\lib\\python\;%PYTHONPATH%
+  @SET PATH=${OMNIORB_ROOT_USER}\\lib\\x86_win32\;%PATH%
   ")
   SET(EXT "bat")
   SET(CALL_STR "call")
 ELSE(WINDOWS)
-  SET(SCR "export PYTHONPATH=\${CMAKE_INSTALL_PREFIX}/lib/python2.6/site-packages/salome:\${PYTHONPATH}
-  export PYTHONPATH=\${CMAKE_INSTALL_PREFIX}/bin/salome:\${PYTHONPATH}
-  export LD_LIBRARY_PATH=\${CMAKE_INSTALL_PREFIX}/lib/salome:\${LD_LIBRARY_PATH}
-  export PYTHONPATH=\${OMNIORB_ROOT_USER}/lib:\${PYTHONPATH}
-  export PYTHONPATH=\${OMNIORB_ROOT_USER}/lib/python2.6/site-packages:\${PYTHONPATH}
-  export LD_LIBRARY_PATH=\${OMNIORB_ROOT_USER}/lib:\${LD_LIBRARY_PATH}
+  SET(SCR "export PYTHONPATH=${CMAKE_INSTALL_PREFIX}/lib/python2.6/site-packages/salome:\${PYTHONPATH}
+  export PYTHONPATH=${CMAKE_INSTALL_PREFIX}/bin/salome:\${PYTHONPATH}
+  export LD_LIBRARY_PATH=${CMAKE_INSTALL_PREFIX}/lib/salome:\${LD_LIBRARY_PATH}
+  export PYTHONPATH=${OMNIORB_ROOT_USER}/lib:\${PYTHONPATH}
+  export PYTHONPATH=${OMNIORB_ROOT_USER}/lib/python2.6/site-packages:\${PYTHONPATH}
+  export LD_LIBRARY_PATH=${OMNIORB_ROOT_USER}/lib:\${LD_LIBRARY_PATH}
   ")
   SET(EXT "sh")
   SET(CALL_STR ".")