#!/usr/bin/env python
#-*- coding:utf-8 -*-
- default :
- {
+default :
+{
name : 'PARAVISADDONS'
build_source : 'cmake'
cmake_options : ''
get_source : "git"
git_info :
{
- repo : $PROJECTS.projects.salome.git_info.default_git_server + 'modules/paravisaddons_common.git'
- repo_dev : $PROJECTS.projects.salome.git_info.default_git_server_dev + 'paravisaddons_common.git'
+ repo : $PROJECTS.projects.salome.git_info.default_git_server + 'modules/paravisaddons_common.git'
+ repo_dev : $PROJECTS.projects.salome.git_info.default_git_server_dev + 'paravisaddons_common.git'
}
environ :
{
- PARAVISADDONS : $install_dir
- PV_PLUGIN_PATH_ : $install_dir + $VARS.sep + 'lib' + $VARS.sep + 'paraview'
+ env_script : $name + ".py"
}
depend :
[
- 'KERNEL'
- 'GUI'
- 'MEDCOUPLING'
- 'PARAVIS'
- 'FIELDS'
- 'GEOM'
- 'SMESH'
- 'Python'
- 'qt'
- 'boost'
- 'hdf5'
- 'medfile'
- 'ParaView'
- 'CAS'
- 'omniORB'
- 'docutils'
- 'libxml2'
- 'six'
- 'pytz'
+ 'KERNEL'
+ 'GUI'
+ 'MEDCOUPLING'
+ 'PARAVIS'
+ 'FIELDS'
+ 'GEOM'
+ 'SMESH'
+ 'Python'
+ 'qt'
+ 'boost'
+ 'hdf5'
+ 'medfile'
+ 'ParaView'
+ 'CAS'
+ 'omniORB'
+ 'docutils'
+ 'libxml2'
+ 'six'
+ 'pytz'
]
opt_depend : ['openmpi']
build_depend :
[
- 'cmake'
- 'swig'
- 'cppunit'
+ 'cmake'
+ 'swig'
+ 'cppunit'
]
source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
properties :
{
- incremental : 'yes'
+ incremental : 'yes'
}
- }
- default_win :
- {
+}
+
+default_win :
+{
depend :
[
- 'PARAVIS'
+ 'PARAVIS'
]
- }
+}
echo.
echo *********************************************************************
-echo *** msbuild %MAKE_OPTIONS% /p:Configuration=Release /p:Platform=x64 ALL_BUILD.vcxproj"
+echo *** msbuild %MAKE_OPTIONS% /p:Configuration=Release /p:Platform=x64 ALL_BUILD.vcxproj
echo *********************************************************************
echo.
--- /dev/null
+#!/usr/bin/env python
+import os.path
+
+def set_env(env, prereq_dir, version):
+ env.set('PARAVISADDONS', prereq_dir)
+ env.append('PV_PLUGIN_PATH', os.path.join(prereq_dir, 'lib','paraview'))
+
+def set_nativ_env(env):
+ pass