Salome HOME
Make the application compiliable and executable on Linux with SALOME environment:
[modules/shaper.git] / eclipse.sh
index 27f21f7db6d69767520f33267681e120a6061279..9ba180d69650a766ed3c632b3509333b988ed7e0 100755 (executable)
@@ -9,6 +9,9 @@ source ${SRC_DIR}/linux_env.sh
 mkdir -p ${ROOT_DIR}/build
 cd ${ROOT_DIR}/build
 
+export LD_LIBRARY_PATH=${KERNEL_ROOT_DIR}/lib/salome:${LD_LIBRARY_PATH}
+export LightAppConfig=${ROOT_DIR}/install/share/salome/resources/newgeom:${GUI_ROOT_DIR}/share/salome/resources/gui
+
 CMAKE_ARGS="-D_ECLIPSE_VERSION=4.3"
 CMAKE_ARGS="${CMAKE_ARGS} -DCMAKE_BUILD_TYPE=Debug"
 CMAKE_ARGS="${CMAKE_ARGS} -DCMAKE_ECLIPSE_GENERATE_SOURCE_PROJECT=ON"
@@ -19,5 +22,4 @@ CMAKE_ARGS="${CMAKE_ARGS} ${SRC_DIR}"
 
 cmake -G "Eclipse CDT4 - Unix Makefiles" ${CMAKE_ARGS}
 
-#/misc/dn48/newgeom/common/eclipse-4.3.0/eclipse&
-/misc/dn48/newgeom/common/eclipse-4.4.0/eclipse&
\ No newline at end of file
+/misc/dn48/newgeom/common/eclipse-4.4.0/eclipse&