pytz : 'native'
qt : 'native'
qwt : 'native'
+ rapidjson : '1.1.0'
requests : 'native'
rkCommon : '1.5.1'
rich : '13.7.1'
# SALOME MODULES :
'CONFIGURATION'
'SALOME'
- 'SHAPER'
+ 'SHAPER' : 'asozinov/40648'
'SHAPERSTUDY'
'RESTRICTED'
'LIBBATCH' : 'V2_5_0'
pytz : '2020.1'
qt : '5.15.2'
qwt : '6.1.6'
+ rapidjson : '1.1.0'
requests : '2.22.0'
rich : '13.7.1'
rkCommon : '1.5.1'
# SALOME MODULES :
'CONFIGURATION'
'SALOME'
- 'SHAPER'
+ 'SHAPER' : 'asozinov/40648'
'SHAPERSTUDY'
'RESTRICTED'
'LIBBATCH' : 'V2_5_0'
'OPENTURNS_SALOME'
'YDEFX'
'pmml'
- #'TESTBASE'
- 'CEATESTBASE' : 'SalomeV9'
+ 'TESTBASE'
+ #'CEATESTBASE' : 'SalomeV9'
}
profile :
{
{
name : "CAS"
build_source : "cmake"
- cmake_options : "-DUSE_TCL=OFF -DBUILD_MODULE_Draw=OFF -DUSE_FREETYPE=ON -D3RDPARTY_FREETYPE_DIR=$FREETYPEDIR -DUSE_FREEIMAGE=ON -D3RDPARTY_FREEIMAGE_DIR=$FREEIMAGEDIR -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON"
+ cmake_options : "-DUSE_TCL=OFF -DBUILD_MODULE_Draw=OFF -DUSE_FREETYPE=ON -D3RDPARTY_FREETYPE_DIR=$FREETYPEDIR -DUSE_FREEIMAGE=ON -D3RDPARTY_FREEIMAGE_DIR=$FREEIMAGEDIR -DUSE_RAPIDJSON=ON -D3RDPARTY_RAPIDJSON_DIR=$RAPIDJSONDIR -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON"
get_source : "git"
git_info:
{
CSF_PluginDefaults : $install_dir + $VARS.sep + "share" + $VARS.sep + "opencascade" + $VARS.sep + "resources" + $VARS.sep + "StdResource"
env_script : $name + ".py"
}
- depend : ['freetype', 'freeimage']
+ depend : ['freetype', 'freeimage', 'rapidjson']
build_depend : ["cmake", "doxygen"]
source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
env_script : $name + ".py"
}
- depend : ['freetype', 'freeimage']
+ depend : ['freetype', 'freeimage', 'rapidjson']
build_depend : ["cmake", "doxygen"]
source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
set CMAKE_OPTIONS=%CMAKE_OPTIONS% -DUSE_FREETYPE:BOOL=ON -D3RDPARTY_FREETYPE_DIR:STRING=%FREETYPEDIR:\=/%
REM FREEIMAGE
set CMAKE_OPTIONS=%CMAKE_OPTIONS% -DUSE_FREEIMAGE:BOOL=ON -D3RDPARTY_FREEIMAGE_DIR:STRING=%FREEIMAGEDIR:\=/%
+REM RAPIDJSON
+set CMAKE_OPTIONS=%CMAKE_OPTIONS% -DUSE_RAPIDJSON:BOOL=ON -D3RDPARTY_RAPIDJSON_DIR:STRING=%RAPIDJSONDIR:\=/%
REM no GL2PS
set CMAKE_OPTIONS=%CMAKE_OPTIONS% -DUSE_GL2PS:BOOL=OFF
--- /dev/null
+@echo off
+
+echo ##########################################################################
+echo RapidJSON %VERSION%
+echo ##########################################################################
+
+REM clean BUILD directory
+if exist "%BUILD_DIR%" rmdir /Q /S %BUILD_DIR%
+mkdir %BUILD_DIR%
+
+cd %SOURCE_DIR%
+
+xcopy bin %PRODUCT_INSTALL%\bin /E /I /Q
+if NOT %ERRORLEVEL% == 0 (
+ echo ERROR on xcopy bin
+ exit 1
+)
+
+xcopy include %PRODUCT_INSTALL%\include /E /I /Q
+if NOT %ERRORLEVEL% == 0 (
+ echo ERROR on xcopy include
+ exit 2
+)
+
+echo.
+echo ########## END
--- /dev/null
+#!/bin/bash
+
+echo "###############################################"
+echo "rapidjson" $VERSION
+echo "###############################################"
+
+cp -r $SOURCE_DIR/* .
+
+
+
+echo
+echo "*** configure"
+./configure --prefix=$PRODUCT_INSTALL
+if [ $? -ne 0 ]
+then
+ echo "ERROR on configure"
+ exit 1
+fi
+
+echo
+echo "*** make" $MAKE_OPTIONS
+make $MAKE_OPTIONS
+if [ $? -ne 0 ]
+then
+ echo "ERROR on make"
+ exit 2
+fi
+
+echo
+echo "*** make install"
+make install
+if [ $? -ne 0 ]
+then
+ echo "ERROR on make install"
+ exit 3
+fi
+
+echo
+echo "########## END"
+