diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..fc36ba9 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "common/ArcaneInfra/build-system"] + path = common/ArcaneInfra/build-system + url = https://github.com/arcaneframework/app_buildsystem_tools.git diff --git a/CMakeLists.txt b/CMakeLists.txt index 4aa16bc..6e01478 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -6,9 +6,16 @@ project(ShArc VERSION 0.1) list(APPEND CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/common/ArcaneInfra/build-system/arcgeosim) set(USE_LANGUAGE_GUMP ON) set(USE_LANGUAGE_LAW ON) - -message(status "Arcane_DIR : ${Arcane_DIR}") - +set(ARCGEOSIM_FRAMEWORK_ROOT ${PROJECT_SOURCE_DIR}/common) +set(ARCGEOSIM_FRAMEWORK_BINARY_DIR ${PROJECT_BINARY_DIR}/common) + +# check submodule is loaded +if (NOT EXISTS ${PROJECT_SOURCE_DIR}/common/ArcaneInfra/build-system/arcgeosim/LoadArcGeoSim.cmake) + message(FATAL_ERROR "build-system not found, to update build-system submodule run the following command: " + "\n cd ${CMAKE_CURRENT_SOURCE_DIR}" + "\n git submodule update --init" + ) +endif () # chargement du système de compilation include(LoadArcGeoSim) diff --git a/common/ArcaneInfra/build-system b/common/ArcaneInfra/build-system new file mode 160000 index 0000000..ab5dcea --- /dev/null +++ b/common/ArcaneInfra/build-system @@ -0,0 +1 @@ +Subproject commit ab5dceacf32f32662d5b0dfde9af689c2a723c45 diff --git a/common/ArcaneInfra/build-system/README.md b/common/ArcaneInfra/build-system/README.md deleted file mode 100644 index 35914b4..0000000 --- a/common/ArcaneInfra/build-system/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# build-system - -IFPEN Build System to be shared by IFPEN Application \ No newline at end of file diff --git a/common/ArcaneInfra/build-system/alien/AlienLegacyConfig.h.in b/common/ArcaneInfra/build-system/alien/AlienLegacyConfig.h.in deleted file mode 100644 index c11a4f3..0000000 --- a/common/ArcaneInfra/build-system/alien/AlienLegacyConfig.h.in +++ /dev/null @@ -1,149 +0,0 @@ -/* - * ALIENConfig.h file, automatically generated by CMAKE. - * - * - */ - -#ifndef ALIENLEGACYCONFIG_H -#define ALIENLEGACYCONFIG_H - -#define ALIEN_LEGACY_VERSION "@PROJECT_VERSION@" -#define ALIEN_LEGACY_VERSION_MAJOR @PROJECT_VERSION_MAJOR@ -#define ALIEN_LEGACY_VERSION_MINOR @PROJECT_VERSION_MINOR@ -#define ALIEN_LEGACY_VERSION_PATCH @PROJECT_VERSION_PATCH@ - -/* Defines that depends on compiler */ -//Tag var as a voluntary unused variable. -//Works with any compiler but might be improved by using attribute. -#define ALIEN_UNUSED(var) do { (void)(var) ; } while(0) -//#define ALIEN_UNUSED_PARAM __attribute__((unused)) -#define ALIEN_UNUSED_PARAM - -/* Conditional compilation */ - -// ARCANE -#cmakedefine ALIEN_USE_ARCANE -#ifdef ALIEN_USE_ARCANE - #define ALIEN_USE_ARCGEOSIM -#endif // ALIEN_USE_ARCANE - -// LibXml2 -#cmakedefine ALIEN_USE_LIBXML2 - -// MPI -#cmakedefine ALIEN_USE_MPI - -// Metis -#cmakedefine ALIEN_USE_METIS - -// MKL -#cmakedefine ALIEN_USE_MKL - -// Eigen3 -#cmakedefine ALIEN_USE_EIGEN3 - -// UMFPACK -#cmakedefine ALIEN_USE_UMFPACK - -// HDF5 -#cmakedefine ALIEN_USE_HDF5 - -// MCGSOLVER -#cmakedefine ALIEN_USE_MCGSOLVER - -// Hypre -#cmakedefine ALIEN_USE_HYPRE - -// PETSc -#cmakedefine ALIEN_USE_PETSC -#ifdef ALIEN_USE_PETSC - #cmakedefine PETSC_DESTROY_NEW - #cmakedefine PETSC_KSPSETPCSIDE_NEW - #cmakedefine PETSC_KSPSETOPERATORS_NEW - #cmakedefine PETSC_KSPDESTROY_NEW - #cmakedefine PETSC_MATDESTROY_NEW - #cmakedefine PETSC_HAVE_MATVALID - #cmakedefine PETSC_VIEWERDESTROY_NEW - #cmakedefine PETSC_GETPCTYPE_NEW - #cmakedefine PETSC_OPTIONSSETVALUE_NEW - #cmakedefine PETSC_HAVE_KSPRICHARDSONSETSELFSCALE - #cmakedefine PETSC_HAVE_KSPSETNULLSPACE - #cmakedefine PETSC_HAVE_VIEWERANDFORMAT -#endif // ALIEN_USE_PETSC - -#ifndef PETSC_OPTIONSSETVALUE_NEW -//#define PETSC_OPTIONSSETVALUE_OLD -#endif - -#ifndef PETSC_HAVE_VIEWERANDFORMAT -//#define PETSC_KSPMONITORTRUERESIDUALNORM_OLD -#endif - -// SLEPc -#cmakedefine ALIEN_USE_SLEPC - -// MTL -#cmakedefine ALIEN_USE_MTL4 -#ifdef ALIEN_USE_MTL4 - #cmakedefine MTL_4_0_9555 - #define ALIEN_USE_MTL -#endif // ALIEN_USE_MTL4 - -// SUPERLU -#cmakedefine ALIEN_USE_SUPERLU -#ifdef ALIEN_USE_SUPERLU - #define Add_ // ? -#endif // ALIEN_USE_SUPERLU - -// ARPACK -#cmakedefine ALIEN_USE_ARPACK - -// Cuda -#cmakedefine ALIEN_USE_CUDA - -// NVAMG -#cmakedefine ALIEN_USE_NVAMG - -// NUMA -#cmakedefine ALIEN_USE_NUMA -#ifdef ALIEN_USE_NUMA - #define NUMA_VERSION1_COMPATIBILITY -#endif // ALIEN_USE_NUMA - -// HWLOC -#cmakedefine ALIEN_USE_HWLOC - -// TBB -#cmakedefine ALIEN_USE_TBB - -// HARTS -#cmakedefine ALIEN_USE_HARTS - -// HTSSOLVER -#cmakedefine ALIEN_USE_HTSSOLVER - -// TRILINOS -#cmakedefine ALIEN_USE_TRILINOS - -// PAPI -#cmakedefine ALIEN_USE_PAPI - -// IFPSolver -#cmakedefine ALIEN_USE_IFPSOLVER - -// HPDDM -#cmakedefine ALIEN_USE_HPDDM - -#ifndef ALIEN_USE_ARCANE -#include "alien/ServiceOptions.h" -#endif - -#include - -// Fix for options -namespace Arccore { - template - String format(const T&... t) { return String::format(t...); } -} - -#endif // ALIENLEGACYCONFIG_H diff --git a/common/ArcaneInfra/build-system/alien/LoadAlienLegacyConfigFile.cmake b/common/ArcaneInfra/build-system/alien/LoadAlienLegacyConfigFile.cmake deleted file mode 100644 index a356420..0000000 --- a/common/ArcaneInfra/build-system/alien/LoadAlienLegacyConfigFile.cmake +++ /dev/null @@ -1,23 +0,0 @@ - -logStatus(" ** Generate alien configuration files :") - -logStatus(" * AlienLegacyConfig.h") - -get_property(TARGETS GLOBAL PROPERTY ${PROJECT_NAME}_TARGETS) - -foreach(target ${TARGETS}) - if(${target}_IS_LOADED) - string(TOUPPER ${target} name) - set(ALIEN_USE_${name} ON) - endif() -endforeach() - -configure_file( - ${PROJECT_SOURCE_DIR}/build-system-cmake/alien/AlienLegacyConfig.h.in - ${PROJECT_BINARY_DIR}/alien/AlienLegacyConfig.h - ) - -install( - FILES ${PROJECT_BINARY_DIR}/alien/AlienLegacyConfig.h - DESTINATION include/alien - ) \ No newline at end of file diff --git a/common/ArcaneInfra/build-system/alien/LoadAlienOptions.cmake b/common/ArcaneInfra/build-system/alien/LoadAlienOptions.cmake deleted file mode 100644 index 10c1995..0000000 --- a/common/ArcaneInfra/build-system/alien/LoadAlienOptions.cmake +++ /dev/null @@ -1,25 +0,0 @@ -# packages -# -------- - -# Chargement des options d'alien - -# ---------------------------------------------------------------------------- -# ---------------------------------------------------------------------------- - -createOption(COMMANDLINE ALIEN_IFPEN - NAME ALIEN_COMPONENT_IFPEN - MESSAGE "Whether or not to compile IFPEN package" - DEFAULT ON) - -createOption(COMMANDLINE ALIEN_CEA - NAME ALIEN_COMPONENT_CEA - MESSAGE "Whether or not to compile CEA package" - DEFAULT ON) - -createOption(COMMANDLINE ALIEN_EXTERNALS - NAME ALIEN_COMPONENT_EXTERNALS - MESSAGE "Whether or not to compile EXTERNALS package" - DEFAULT ON) - -# ---------------------------------------------------------------------------- -# ---------------------------------------------------------------------------- diff --git a/common/ArcaneInfra/build-system/alien/LoadAlienPackages.cmake b/common/ArcaneInfra/build-system/alien/LoadAlienPackages.cmake deleted file mode 100644 index 3456a6f..0000000 --- a/common/ArcaneInfra/build-system/alien/LoadAlienPackages.cmake +++ /dev/null @@ -1,118 +0,0 @@ -# packages -# -------- - -# Chargement des packages de arcane - -# ---------------------------------------------------------------------------- -# ---------------------------------------------------------------------------- - -loadPackage(NAME Alien ESSENTIAL) - -# ---------------------------------------------------------------------------- -# ---------------------------------------------------------------------------- - -loadPackage(NAME MPI ESSENTIAL) -loadPackage(NAME Boost ESSENTIAL) -loadPackage(NAME GTest ESSENTIAL) - -set(MPI_ROOT ${MPI_ROOT_PATH}) - -loadPackage(NAME MPIFort) - -## En fait pour cette dependance, en reecrivant a minima, on veut juste les blas -loadPackage(NAME MKL) -#if (NOT MKL_FOUND) -#loadPackage(NAME BLAS ESSENTIAL) -#endif (NOT MKL_FOUND) -loadPackage(NAME OpenBLAS) - -# ---------------------------------------------------------------------------- -# ---------------------------------------------------------------------------- - -# tools - -loadPackage(NAME LibXml2) -loadPackage(NAME Metis) -loadPackage(NAME HDF5) -loadPackage(NAME HWLoc) -loadPackage(NAME Numa) -loadPackage(NAME TBB) -loadPackage(NAME HARTS) -loadPackage(NAME Cuda) -loadPackage(NAME NvAMG) -loadPackage(NAME FFTW3) - -# ---------------------------------------------------------------------------- -# ---------------------------------------------------------------------------- - -# solveurs - -#loadPackage(NAME Umfpack) -loadPackage(NAME PETSc) -loadPackage(NAME SLEPc) -loadPackage(NAME Hypre) -loadPackage(NAME MTL4) -loadPackage(NAME SuperLU) -loadPackage(NAME SuperLU_DIST) -loadPackage(NAME MUMPS) -loadPackage(NAME IFPSolver) -loadPackage(NAME MCGSolver) -loadPackage(NAME Eigen3) -loadPackage(NAME Spectra) -loadPackage(NAME HTSSolver) -loadPackage(NAME Trilinos) -loadPackage(NAME Arpack) -loadPackage(NAME HPDDM) - -# ---------------------------------------------------------------------------- -# ---------------------------------------------------------------------------- - -# arccon fix -if (TARGET arcconpkg_Hypre) - add_library(hypre ALIAS arcconpkg_Hypre) -endif() - -if (TARGET arcconpkg_MPI) - add_library(mpi ALIAS arcconpkg_MPI) -endif() - -if (TARGET arcconpkg_PETSc) - add_library(petsc ALIAS arcconpkg_PETSc) -endif() - -if (TARGET arcconpkg_SuperLU) - add_library(superlu ALIAS arcconpkg_SuperLU) -endif() - -if (TARGET arcconpkg_MTL4) - add_library(mtl4 ALIAS arcconpkg_MTL4) -endif() - -if (TARGET arcconpkg_TBB) - add_library(tbb ALIAS arcconpkg_TBB) -endif() - -if (TARGET arcconpkg_HDF5) - add_library(hdf5 ALIAS arcconpkg_HDF5) -endif() - -# load package can't deal with this... -find_package(Boost COMPONENTS program_options system REQUIRED) - -# ---------------------------------------------------------------------------- -# ---------------------------------------------------------------------------- - -# arcane - -# NB: en dernier car arcane charge éventuellement d'autres packages -# si le package existe déjà, on ne fait rien -loadPackage(NAME Arcane) - -if(NOT TARGET arcane_core) - logStatus("arcane is not found") -else() - logStatus("arcane is found") -endif() - -# ---------------------------------------------------------------------------- -# ---------------------------------------------------------------------------- diff --git a/common/ArcaneInfra/build-system/alien/LoadAlienTest.cmake b/common/ArcaneInfra/build-system/alien/LoadAlienTest.cmake deleted file mode 100644 index 5d8e17b..0000000 --- a/common/ArcaneInfra/build-system/alien/LoadAlienTest.cmake +++ /dev/null @@ -1,174 +0,0 @@ -include(CMakeParseArguments) - -macro(load_bench) - - set(options PARALLEL) - set(oneValueArgs BENCH NAME) - set(multiValueArgs) - - cmake_parse_arguments(ARGS "${options}" "${oneValueArgs}" "${multiValueArgs}" ${ARGN}) - - if (ARGS_UNPARSED_ARGUMENTS) - logFatalError("unparsed arguments '${ARGS_UNPARSED_ARGUMENTS}'") - endif () - - get_property(benchs GLOBAL PROPERTY ${PROJECT_NAME}_BENCHS) - - list(APPEND benchs ${ARGS_BENCH}) - list(REMOVE_DUPLICATES benchs) - - set_property(GLOBAL PROPERTY ${PROJECT_NAME}_BENCHS ${benchs}) - - # NB: APPEND ne marche que pour des listes existantes - if (NOT ARGS_PARALLEL) - get_property(tests GLOBAL PROPERTY ${ARGS_BENCH}_TESTS) - list(APPEND tests ${ARGS_NAME}) - set_property(GLOBAL PROPERTY ${ARGS_BENCH}_TESTS ${tests}) - else () - get_property(tests GLOBAL PROPERTY ${ARGS_BENCH}_PARALLEL_TESTS) - list(APPEND tests ${ARGS_NAME}) - set_property(GLOBAL PROPERTY ${ARGS_BENCH}_PARALLEL_TESTS ${tests}) - endif () - -endmacro() - -macro(alien_test) - - set(options PARALLEL_ONLY) - set(oneValueArgs BENCH NAME COMMAND WORKING_DIRECTORY) - set(multiValueArgs OPTIONS PROCS) - - cmake_parse_arguments(ARGS "${options}" "${oneValueArgs}" "${multiValueArgs}" ${ARGN}) - - if (ARGS_UNPARSED_ARGUMENTS) - logFatalError("unparsed arguments '${ARGS_UNPARSED_ARGUMENTS}'") - endif () - - if (NOT ARGS_BENCH) - logFatalError("a test should be part of a bench : BENCH not defined") - endif () - - if (NOT ARGS_NAME) - logFatalError("a test should have a name : NAME not defined") - endif () - - if (NOT ARGS_COMMAND) - logFatalError("a test should be related to an executable : COMMAND not defined") - endif () - - if (NOT ARGS_PARALLEL_ONLY) - - if (NOT ARGS_WORKING_DIRECTORY) - add_test( - NAME ${ARGS_BENCH}.${ARGS_NAME} - COMMAND ${ARGS_COMMAND} - ${ARGS_OPTIONS} - ) - else () - add_test( - NAME ${ARGS_BENCH}.${ARGS_NAME} - COMMAND ${ARGS_COMMAND} - ${ARGS_OPTIONS} - WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/${ARGS_WORKING_DIRECTORY} - ) - endif () - - if (TARGET arcane_core) - - set_tests_properties(${ARGS_BENCH}.${ARGS_NAME} PROPERTIES - ENVIRONMENT "ARCANE_PARALLEL_SERVICE=Mpi" - ) - - endif () - - if (WIN32) - # ajout de bin/sys_dlls au PATH - set(PATH ${CMAKE_BINARY_DIR}/bin/sys_dlls) - list(APPEND PATH $ENV{PATH}) - string(REPLACE ";" "\\;" PATH "${PATH}") - set_property(TEST ${ARGS_BENCH}.${ARGS_NAME} APPEND PROPERTY ENVIRONMENT "PATH=${PATH}") - endif () - - load_bench(BENCH ${ARGS_BENCH} NAME ${ARGS_NAME}) - - endif () - - if (ARGS_PROCS OR ARGS_PARALLEL_ONLY) - - if (NOT TARGET mpi) - logStatus("parallel test ${ARGS_NAME} can't be defined : mpi not available") - return() - endif () - - if (NOT ARGS_PROCS) - set(ARGS_PROCS 1) - endif () - - foreach (mpi ${ARGS_PROCS}) - - if (NOT ARGS_WORKING_DIRECTORY) - add_test( - NAME ${ARGS_BENCH}.${ARGS_NAME}.mpi-${mpi} - COMMAND ${MPIEXEC_EXECUTABLE} ${MPIEXEC_NUMPROC_FLAG} ${mpi} ${MPIEXEC_PREFLAGS}$ ${MPIEXEC_POSTFLAGS} - ${ARGS_OPTIONS} - ) - else () - add_test( - NAME ${ARGS_BENCH}.${ARGS_NAME}.mpi-${mpi} - COMMAND ${MPIEXEC_EXECUTABLE} ${MPIEXEC_NUMPROC_FLAG} ${mpi} ${MPIEXEC_PREFLAGS}$ ${MPIEXEC_POSTFLAGS} - ${ARGS_OPTIONS} - WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/${ARGS_WORKING_DIRECTORY} - ) - endif () - - if (TARGET arcane_core) - - set_tests_properties(${ARGS_BENCH}.${ARGS_NAME}.mpi-${mpi} PROPERTIES - ENVIRONMENT "ARCANE_PARALLEL_SERVICE=Mpi" - ) - - endif () - - if (WIN32) - # ajout de bin/sys_dlls au PATH - set(PATH ${CMAKE_BINARY_DIR}/bin/sys_dlls) - list(APPEND PATH $ENV{PATH}) - string(REPLACE ";" "\\;" PATH "${PATH}") - set_property(TEST ${ARGS_BENCH}.${ARGS_NAME}.mpi-${mpi} APPEND PROPERTY ENVIRONMENT "PATH=${PATH}") - endif () - - load_bench(BENCH ${ARGS_BENCH} NAME ${ARGS_NAME} PARALLEL) - - endforeach () - - endif () - -endmacro() - -function(print_bench_informations) - - get_property(benchs GLOBAL PROPERTY ${PROJECT_NAME}_BENCHS) - - list(LENGTH benchs nb_benchs) - - logStatus("Load ${nb_benchs} test bench(s)") - - foreach (bench ${benchs}) - - logStatus(" ** Bench ${BoldMagenta}${bench}${ColourReset}") - - get_property(bench_seq GLOBAL PROPERTY ${bench}_TESTS) - - list(LENGTH bench_seq nb_seq_tests) - - logStatus(" * sequential : ${nb_seq_tests} test(s)") - - get_property(bench_par GLOBAL PROPERTY ${bench}_PARALLEL_TESTS) - - list(LENGTH bench_par nb_mpi_tests) - - logStatus(" * parallel : ${nb_mpi_tests} test(s)") - - endforeach () - -endfunction() diff --git a/common/ArcaneInfra/build-system/arcgeosim/FinishArcGeoSim.cmake b/common/ArcaneInfra/build-system/arcgeosim/FinishArcGeoSim.cmake deleted file mode 100644 index cc6a053..0000000 --- a/common/ArcaneInfra/build-system/arcgeosim/FinishArcGeoSim.cmake +++ /dev/null @@ -1,33 +0,0 @@ -# ---------------------------------------------------------------------------- -# ---------------------------------------------------------------------------- - -# pour la recopie de dlls si besoin -include(common/ArcaneInfra/build-system/arcgeosim/FinishBuildSystem.cmake) - -message_separator() - -# ---------------------------------------------------------------------------- -# ---------------------------------------------------------------------------- - -if(TARGET vendor) - if(NOT TARGET flexlm) - logStatus("${Yellow}Warning${ColourReset} Using vendor mode without FlexLM") - message_separator() - endif() -endif() - -if(TARGET flexlm) - if(NOT TARGET vendor) - logStatus("${Yellow}Warning${ColourReset} Using FlexLM without vendor mode") - message_separator() - endif() - if(TARGET metis) - logStatus("${Yellow}Warning${ColourReset}Prohibited Metis dependency found using FlexLM") - endif() - if(TARGET parmetis) - logStatus("${Yellow}Warning${ColourReset}Prohibited ParMetis dependency found using FlexLM") - endif() -endif() - -# ---------------------------------------------------------------------------- -# ---------------------------------------------------------------------------- diff --git a/common/ArcaneInfra/build-system/arcgeosim/FinishBuildSystem.cmake b/common/ArcaneInfra/build-system/arcgeosim/FinishBuildSystem.cmake deleted file mode 100644 index 4247985..0000000 --- a/common/ArcaneInfra/build-system/arcgeosim/FinishBuildSystem.cmake +++ /dev/null @@ -1,75 +0,0 @@ -# ---------------------------------------------------------------------------- -# ---------------------------------------------------------------------------- - -if(WIN32) - - message_separator() - - logStatus("Finishing build system :") - - list(LENGTH EXTRA_DLLS_TO_COPY nb_dlls) - - logStatus(" ** copying ${nb_dlls} extra dll(s) to binary configurations directories") - - foreach(dll ${EXTRA_DLLS_TO_COPY}) - if(VERBOSE) - logStatus(" * dll : ${dll}") - endif() - copyOneDllFile(${dll}) - endforeach() - - get_property(DLLS GLOBAL PROPERTY ${PROJECT_NAME}_DLLS_TO_COPY) - - list(LENGTH DLLS nb_dlls) - - logStatus(" ** copying ${nb_dlls} dll(s) to binary configurations directories") - - if(VERBOSE) - foreach(dll ${DLLS}) - logStatus(" * dll : ${dll}") - endforeach() - endif() - - add_custom_target(copy_dll ALL - DEPENDS ${DLLS} - ) - -endif() - -# ---------------------------------------------------------------------------- -# ---------------------------------------------------------------------------- - -message_separator() - -logStatus("Generate xml package file") - -generatePackageXmlFile() - -logStatus("Generate axl database") - -generateAxlDataBase() - -logStatus("Generate eclipse CDT settings") - -generateEclipseCDTXmlFile() - -# ---------------------------------------------------------------------------- -# ---------------------------------------------------------------------------- - -message_separator() - -logStatus("To compile, I suggest the following compile command:") -if(WIN32) - if(CMAKE_BUILD_TYPE) - logStatus("\tdevenv ${CMAKE_PROJECT_NAME}.sln /build ${CMAKE_BUILD_TYPE}") - else() - logStatus("\tdevenv ${CMAKE_PROJECT_NAME}.sln /build Debug") - logStatus("\tor") - logStatus("\tdevenv ${CMAKE_PROJECT_NAME}.sln /build Release") - endif() -else() - logStatus("\tmake -j 4") -endif() - -# ---------------------------------------------------------------------------- -# ---------------------------------------------------------------------------- diff --git a/common/ArcaneInfra/build-system/arcgeosim/LoadArcGeoSim.cmake b/common/ArcaneInfra/build-system/arcgeosim/LoadArcGeoSim.cmake deleted file mode 100644 index ae0240d..0000000 --- a/common/ArcaneInfra/build-system/arcgeosim/LoadArcGeoSim.cmake +++ /dev/null @@ -1,163 +0,0 @@ -# ---------------------------------------------------------------------------- -# ---------------------------------------------------------------------------- - -# chemin du fichier - -# ---------------------------------------------------------------------------- -# ---------------------------------------------------------------------------- - -cmake_minimum_required(VERSION 3.7.1) - -# pour VERSION dans la commande project -cmake_policy(SET CMP0048 NEW) -cmake_policy(SET CMP0023 NEW) -cmake_policy(SET CMP0054 NEW) - -# ---------------------------------------------------------------------------- -# ---------------------------------------------------------------------------- - -set(INFRA_BUILDSYSTEM_PATH ${PROJECT_SOURCE_DIR}/common/ArcaneInfra/build-system) -set(ARCGEOSIM_BUILD_SYSTEM_PATH ${PROJECT_SOURCE_DIR}/common/ArcaneInfra/build-system) -list(APPEND CMAKE_MODULE_PATH ${INFRA_BUILDSYSTEM_PATH}/tools) -list(APPEND CMAKE_MODULE_PATH ${INFRA_BUILDSYSTEM_PATH}) - -# ---------------------------------------------------------------------------- -# ---------------------------------------------------------------------------- - -# Parametrage du systeme de compilation -# NB: a faire AVANT l'inclusion de LoadBuildSystem - -# Les libs/exe ne sont pas construits dans des repertoires de configuration (Debug/Release) -# NB: important pour les tests : pas de mise a jour de PATH necessaire pour la recherche de dlls -set(BUILDSYSTEM_NO_CONFIGURATION_OUTPUT_DIRECTORY ON) - -# Repertoire d'exportation des dlls (pour windows) -# NB: important pour les tests : pas de mise a jour de PATH necessaire pour la recherche de dlls -set(BUILDSYSTEM_DLL_COPY_DIRECTORY ${PROJECT_BINARY_DIR}/bin) - -# par defaut, on a que axl -if(NOT USE_LANGUAGE_GUMP) - set(USE_LANGUAGE_GUMP OFF) -endif() - -if(NOT USE_LANGUAGE_LAW) - set(USE_LANGUAGE_LAW OFF) -endif() - -# par defaut le package google tools est desactive sauf si on force le link -set(gperftools_IS_DISABLED ON) -set(gperftools_WHY "disabled by default (use -DEnablePackages=gperftools to activate it)") - -# ---------------------------------------------------------------------------- -# ---------------------------------------------------------------------------- - - -set(USE_ARCCON TRUE) -#set(USE_ARCCON FALSE) -if(DESACTIVATE_AXLSTAR) - set(USE_AXLSTAR FALSE) - set(AXL_HEADERS_PATH ${CMAKE_SOURCE_DIR}/modules/axl) -else() - set(USE_AXLSTAR TRUE) -endif() - -# ---------------------------------------------------------------------------- -# ---------------------------------------------------------------------------- -#set(USE_PROJECT_CONFIG_HEADER TRUE) -set(REQUIRE_INSTALL_PROJECTTARGETS FALSE) -set(Arccon_USE_CMAKE_CONFIG TRUE) -set(Arccore_USE_CMAKE_CONFIG TRUE) -set(Axlstar_USE_CMAKE_CONFIG TRUE) -#set(Alien_USE_CMAKE_CONFIG TRUE) -#set(ALIEN_USE_CMAKE_CONFIG TRUE) -set(Arcane_USE_CMAKE_CONFIG FALSE) -set(GTest_USE_CMAKE_CONFIG TRUE) -set(TBB_USE_CMAKE_CONFIG TRUE) -set(MPI_USE_CMAKE_CONFIG FALSE) -set(OpenBLAS_USE_CMAKE_CONFIG TRUE) -#set(Boost_USE_CMAKE_CONFIG TRUE) -set(Glib_USE_CMAKE_CONFIG TRUE) - -#set(PETSc_USE_CMAKE_CONFIG TRUE) -#set(PETSc_USE_PKGCONFIG TRUE) -#set(Hypre_USE_CMAKE_CONFIG TRUE) -#set(MTL4_USE_CMAKE_CONFIG TRUE) -#set(SuperLU_USE_CMAKE_CONFIG TRUE) - -# parametrage par defaut -include(LoadBuildSystem) - -# ---------------------------------------------------------------------------- -# ---------------------------------------------------------------------------- - -# options arcgeosim -include(LoadArcGeoSimOptions) - -# ---------------------------------------------------------------------------- -# ---------------------------------------------------------------------------- - -# chargement du fichier de package arcgeosim -include(LoadOSFeatures) - -# ---------------------------------------------------------------------------- -# ---------------------------------------------------------------------------- - -# chargement du fichier de package arcgeosim -include(LoadArcGeoSimPackageFile) - -# ---------------------------------------------------------------------------- -# ---------------------------------------------------------------------------- - -# metas par defaut (win32/linux) -include(LoadDefaultMetas) - -# ---------------------------------------------------------------------------- -# ---------------------------------------------------------------------------- - -# options de compilation par defaut -include(LoadDefaultCompilationFlags) - -# ---------------------------------------------------------------------------- -# ---------------------------------------------------------------------------- - -# packages par defaut (mono et glib) -include(LoadDefaultPackages) - -# ---------------------------------------------------------------------------- -# ---------------------------------------------------------------------------- - -# configuration specifique de arcgeosim -include(LoadArcGeoSimConfiguration) - -# ---------------------------------------------------------------------------- -# ---------------------------------------------------------------------------- - -# langages (axl, gump, law, ...) NB: apres les packages -include(LoadArcGeoSimLanguages) - -# ---------------------------------------------------------------------------- -# ---------------------------------------------------------------------------- - -# packages de arcgeosim -include(LoadArcGeoSimPackages) - -# ---------------------------------------------------------------------------- -# -- Tmp for geoxim to delete when geoxim trunk with alien version 1.1 --- - -if(ALIEN_VERSION EQUAL 1.0) - loadMeta(NAME alien_v_1_0) -endif() - -# ---------------------------------------------------------------------------- -# ---------------------------------------------------------------------------- - -# pour les tests -include(LoadArcGeoSimTestingTools) - -# ---------------------------------------------------------------------------- -# ---------------------------------------------------------------------------- - -enable_testing() - -# ---------------------------------------------------------------------------- -# ---------------------------------------------------------------------------- diff --git a/common/ArcaneInfra/build-system/arcgeosim/LoadArcGeoSimConfiguration.cmake b/common/ArcaneInfra/build-system/arcgeosim/LoadArcGeoSimConfiguration.cmake deleted file mode 100644 index 67da549..0000000 --- a/common/ArcaneInfra/build-system/arcgeosim/LoadArcGeoSimConfiguration.cmake +++ /dev/null @@ -1,34 +0,0 @@ -message_separator() - -logStatus("Load ArcGeoSim project configuration (defines, includes, etc.)") - -# ---------------------------------------------------------------------------- -# ---------------------------------------------------------------------------- - -if(USE_CXX11) - add_definitions(-DARCGEOSIM_USE_CXX11) -else() - logFatalError("ArcGeoSim needs C++11 standard") -endif() -add_definitions(-DARCGEOSIM_USE_EXPORT) -add_definitions(-DMPICH_IGNORE_CXX_SEEK -DMPICH_SKIP_MPICXX) - -if(WIN32) - # tous les symboles exportes sous windows - set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON) -endif() - -# includes pour simplifier -include_directories(${PROJECT_BINARY_DIR}/common/ArcGeoPhy/src) -include_directories(${PROJECT_SOURCE_DIR}/common/ArcGeoPhy/src) -include_directories(${PROJECT_BINARY_DIR}/common/ArcGeoSim/src) -include_directories(${PROJECT_SOURCE_DIR}/common/ArcGeoSim/src) -include_directories(${PROJECT_BINARY_DIR}/common/SharedUtils/src) -include_directories(${PROJECT_SOURCE_DIR}/common/SharedUtils/src) -include_directories(${PROJECT_BINARY_DIR}/common/ArximCpp/src) -include_directories(${PROJECT_SOURCE_DIR}/common/ArximCpp/src) -include_directories(${PROJECT_BINARY_DIR}/src) -include_directories(${PROJECT_SOURCE_DIR}/src) - -# ---------------------------------------------------------------------------- -# ---------------------------------------------------------------------------- diff --git a/common/ArcaneInfra/build-system/arcgeosim/LoadArcGeoSimLanguages.cmake b/common/ArcaneInfra/build-system/arcgeosim/LoadArcGeoSimLanguages.cmake deleted file mode 100644 index c259e11..0000000 --- a/common/ArcaneInfra/build-system/arcgeosim/LoadArcGeoSimLanguages.cmake +++ /dev/null @@ -1,10 +0,0 @@ -# --------------------------------------------------------------------------- -# --------------------------------------------------------------------------- - -include(LoadDefaultLanguages) - -loadLanguage(NAME gump PATH "${INFRA_BUILDSYSTEM_PATH}/languages") -loadLanguage(NAME law PATH "${INFRA_BUILDSYSTEM_PATH}/languages") - -# --------------------------------------------------------------------------- -# --------------------------------------------------------------------------- diff --git a/common/ArcaneInfra/build-system/arcgeosim/LoadArcGeoSimOptions.cmake b/common/ArcaneInfra/build-system/arcgeosim/LoadArcGeoSimOptions.cmake deleted file mode 100644 index f8ae986..0000000 --- a/common/ArcaneInfra/build-system/arcgeosim/LoadArcGeoSimOptions.cmake +++ /dev/null @@ -1,62 +0,0 @@ -# options -# -------- - -# Chargement des options de ArcGeoSim - -# ---------------------------------------------------------------------------- -# ---------------------------------------------------------------------------- - -# options par défaut -include(LoadDefaultOptions) - -# ---------------------------------------------------------------------------- -# ---------------------------------------------------------------------------- - -if(NOT ARCANE_VERSION) - set(ARCANE_VERSION 2.2.1) -endif() - -if(NOT ALIEN_VERSION) - set(ALIEN_VERSION 1.1) -endif() - -# ---------------------------------------------------------------------------- -# ---------------------------------------------------------------------------- - -# Version de arcane -createStringOption(COMMANDLINE ArcaneVersion - NAME CUSTOM_ARCANE_VERSION - MESSAGE "Arcane version" - DEFAULT ${ARCANE_VERSION}) - -set(ARCANE_VERSION ${CUSTOM_ARCANE_VERSION_VALUE}) - -# ---------------------------------------------------------------------------- -# ---------------------------------------------------------------------------- - -# Version de arcane -createStringOption(COMMANDLINE AlienVersion - NAME CUSTOM_ALIEN_VERSION - MESSAGE "Alien version" - DEFAULT ${ALIEN_VERSION}) - -set(ALIEN_VERSION ${CUSTOM_ALIEN_VERSION_VALUE}) - -# ---------------------------------------------------------------------------- -# ---------------------------------------------------------------------------- - -# Chemin de arcane -createStringOption(COMMANDLINE ArcanePath - NAME CUSTOM_ARCANE_PATH - MESSAGE "Arcane path") - -# ---------------------------------------------------------------------------- -# ---------------------------------------------------------------------------- - -# Chemin de arcane -createStringOption(COMMANDLINE AlienPath - NAME CUSTOM_ALIEN_PATH - MESSAGE "Alien path") - -# ---------------------------------------------------------------------------- -# ---------------------------------------------------------------------------- diff --git a/common/ArcaneInfra/build-system/arcgeosim/LoadArcGeoSimPackageFile.cmake b/common/ArcaneInfra/build-system/arcgeosim/LoadArcGeoSimPackageFile.cmake deleted file mode 100644 index f801ecb..0000000 --- a/common/ArcaneInfra/build-system/arcgeosim/LoadArcGeoSimPackageFile.cmake +++ /dev/null @@ -1,180 +0,0 @@ -message_separator() - -logStatus("Load configuration :") - -# 1. On lit un eventuel fichier de package -DPackageFile=<...> -# dans lequel une macro ARCANE_ROOT a peut etre ete definie -# Ecrase ARCANE_ROOT si l'utilisateur a ecrit -DARCANE_ROOT=<...> -logStatus("PACKAGE FILE : ${PACKAGE_FILE}") -if(${PACKAGE_FILE}) - - logStatus(" * Using package file '${PACKAGE_FILE_VALUE}'") - - # chargement du fichier de package - include(LoadDefaultPackageFile) - -endif() - -if(USE_ARCANE_V3) - set(Arccon_USE_CMAKE_CONFIG TRUE) - set(Arccore_USE_CMAKE_CONFIG TRUE) - set(Axlstar_USE_CMAKE_CONFIG TRUE) - set(ALIEN_USE_CMAKE_CONFIG TRUE) - - set(PETSc_USE_CMAKE_CONFIG TRUE) - set(Hypre_USE_CMAKE_CONFIG TRUE) - set(MTL4_USE_CMAKE_CONFIG TRUE) - set(SuperLU_USE_CMAKE_CONFIG TRUE) -endif() -# 2. On ecrase ARCANE_ROOT si un chemin est donne par l'utilisateur -# en ligne de commande (-DArcanePath=<...>) - -# Override using user path -if(${CUSTOM_ARCANE_PATH}) - - set(ARCANE_ROOT - ${CUSTOM_ARCANE_PATH_VALUE} - CACHE INTERNAL "Arcane root path") - -endif() - -# Maintenant on gere si ARCANE_ROOT non defini par -# -DPackageFile=<...>, -DARCANE_ROOT=<...> ou -DArcanePath=<...> - -# 3. Si ARCANE_ROOT n'est pas defini (pas dans packages, pas en ligne de commande) -# On cherche dans l'environnement - -if(NOT ARCANE_ROOT) - - set(ARCANE_ROOT $ENV{ARCANE_ROOT}) - -endif() - -# 4. Si ARCANE_ROOT n'est pas defini (pas dans packages, pas en ligne de commande, pas dans l'env) -# On charge automatiquement ARCANE_ROOT par rapport à la toolchain et ARCANE_VERSION - -if(Arcane_DIR) - logStatus(" * Using ArcaneConfig : ${Arcane_DIR}/ArcaneConfig.cmake") - set(Arcane_USE_CMAKE_CONFIG TRUE) -else() - -if(NOT ARCANE_ROOT) - - # Version par defaut - if(NOT ARCANE_VERSION) - logFatal("ARCANE_VERSION is not defined. Add it to your CMakeLists.txt and contact your administrator.") - endif() - - # detection du numero de release centos/rhel - if(${REDHAT_RELEASE} MATCHES "(CentOS|Red Hat Enterprise Linux).* release ([0-9]).*") - set(rhel "RHEL${CMAKE_MATCH_2}") - set(rhel_ver "${CMAKE_MATCH_2}") - endif() - - # toochain dans l'environnement - set(toolchain $ENV{TOOLCHAIN}) - - # si pas defini, on utilise le legacy gcc472 - if(toolchain) - set(toolchain $ENV{TOOLCHAIN}-2018b) - else() - set(toolchain gcc472) - endif() - - if(CMAKE_BUILD_TYPE STREQUAL "Release") - set(mode ref) - else() - set(mode dbg) - endif() - - - if (DEFINED ENV{EXPL_INSTALL}) - set(ARCANE_ROOT - $ENV{EXPL_INSTALL}/arcane/${ARCANE_VERSION}/Linux/${rhel}/x86_64/${mode}-${toolchain} - CACHE INTERNAL "Arcane root path") - else() - set(ARCANE_ROOT - /home/irsrvshare1/R11/arcuser/Arcane/${ARCANE_VERSION}/Linux/${rhel}/x86_64/${mode}-${toolchain} - CACHE INTERNAL "Arcane root path") - endif() - -endif() - -logStatus(" * Using Arcane path : ${ARCANE_ROOT}") -endif() -# Pour ALIEN, c'est la meme chose - -# 1. ALIEN_ROOT a peut etre ete defini par -DPackageFile=<...> ou -DALIEN_ROOT=<...> - -# 2. On ecrase ALIEN_ROOT si un chemin est donne par l'utilisateur -# en ligne de commande (-DAlienPath=<...>) - -# Override using user path -if(${CUSTOM_ALIEN_PATH}) - - set(ALIEN_ROOT - ${CUSTOM_ALIEN_PATH_VALUE} - CACHE INTERNAL "Alien root path") - -endif() - -# 3. Si ALIEN_ROOT n'est pas defini (pas dans packages, pas en ligne de commande) -# On cherche dans l'environnement - -if(NOT ALIEN_ROOT) - - set(ALIEN_ROOT $ENV{ALIEN_ROOT}) - -endif() - -# 4. Si ALIEN_ROOT n'est pas defini (pas dans packages, pas en ligne de commande, pas dans l'env) -# On charge automatiquement ALIEN_ROOT par rapport à la toolchain - -if(AlienProd_DIR) - logStatus(" * Using AlienProdConfig : ${AlienProd_DIR}/AlienProdConfig.cmake") - set(ALIEN_USE_CMAKE_CONFIG FALSE) - set(ALIEN_DIR ${AlienProd_DIR}) -else() -if(NOT ALIEN_ROOT) - - # Version par defaut - if(NOT ALIEN_VERSION) - logFatal("ALIEN_VERSION is not defined. Add it to your CMakeLists.txt and contact your administrator.") - endif() - - # detection du numero de release centos/rhel - if(${REDHAT_RELEASE} MATCHES "(CentOS|Red Hat Enterprise Linux).* release ([0-9]).*") - set(rhel "RHEL${CMAKE_MATCH_2}") - endif() - - # toochain dans l'environnement - set(toolchain $ENV{TOOLCHAIN}) - - # si pas defini, on utilise le legacy gcc472 - if(toolchain) - set(toolchain $ENV{TOOLCHAIN}-2018b) - else() - set(toolchain gcc472) - endif() - - if(CMAKE_BUILD_TYPE STREQUAL "Release") - set(mode ref) - else() - set(mode dbg) - endif() - - if (DEFINED ENV{EXPL_INSTALL}) - set(ALIEN_ROOT - $ENV{EXPL_INSTALL}/alien/${ALIEN_VERSION}/Linux/${rhel}/x86_64/${mode}-arcane-${toolchain} - CACHE INTERNAL "Alien root path") - else() - set(ALIEN_ROOT - /home/irsrvshare1/R11/arcuser/Alien/${ALIEN_VERSION}/Linux/${rhel}/x86_64/${mode}-arcane-${toolchain} - CACHE INTERNAL "Alien root path") - endif() - -endif() - -logStatus(" * Using Alien path : ${ALIEN_ROOT}") - -endif() diff --git a/common/ArcaneInfra/build-system/arcgeosim/LoadArcGeoSimPackages.cmake b/common/ArcaneInfra/build-system/arcgeosim/LoadArcGeoSimPackages.cmake deleted file mode 100644 index 983da26..0000000 --- a/common/ArcaneInfra/build-system/arcgeosim/LoadArcGeoSimPackages.cmake +++ /dev/null @@ -1,194 +0,0 @@ -# packages -# -------- - -# Chargement des packages de ArcGeosim - -# ---------------------------------------------------------------------------- -# ---------------------------------------------------------------------------- - -loadPackage(NAME MPI ESSENTIAL) -loadPackage(NAME Boost ESSENTIAL) - -# loadPackage(NAME MKL ESSENTIAL) -# En fait pour cette dependance, en reecrivant a minima, -# on veut juste les blas -loadPackage(NAME MKL) -if (NOT MKL_FOUND) - loadPackage(NAME BLAS ESSENTIAL) -endif (NOT MKL_FOUND) - -# ---------------------------------------------------------------------------- -# ---------------------------------------------------------------------------- - -# tools - -loadPackage(NAME LibXml2) -loadPackage(NAME Metis) -loadPackage(NAME HDF5) -loadPackage(NAME HWLoc) -loadPackage(NAME TBB) -loadPackage(NAME HARTS) -loadPackage(NAME Numa) -loadPackage(NAME Cuda) -loadPackage(NAME NvAMG) -# a priori inutile car le finder IFPSolver -# embarque les outils intel -#loadPackage(NAME Intel) -loadPackage(NAME BinUtils) -loadPackage(NAME GeometryKernel) -loadPackage(NAME GPerfTools) - -# ---------------------------------------------------------------------------- -# ---------------------------------------------------------------------------- - -# solveurs - -loadPackage(NAME Umfpack) -loadPackage(NAME PETSc) -loadPackage(NAME Hypre) -loadPackage(NAME MTL4) -# A voir avec EasyBuild -loadPackage(NAME FFTW3) -loadPackage(NAME SuperLU) -loadPackage(NAME SuperLUDIST) -loadPackage(NAME IFPSolver) -loadPackage(NAME MCGSolver) -loadPackage(NAME Eigen3) -loadPackage(NAME Eigen2) -loadPackage(NAME Umfpack) -loadPackage(NAME GLPK) -# ---------------------------------------------------------------------------- -# ---------------------------------------------------------------------------- - -# arcane - -# NB: en avant-dernier car arcane charge eventuellement d'autres packages -# si le package existe deja, on ne fait rien - -if(USE_ARCANE_V3) - loadPackage(NAME Arccore ESSENTIAL) -endif() -loadPackage(NAME Arcane ESSENTIAL) -if(TARGET arcane_full) - add_library(arcane INTERFACE IMPORTED) - - set_target_properties(arcane PROPERTIES - INTERFACE_LINK_LIBRARIES "arcane_mpi;arcane_thread;arcane_mpithread;arcane_utils;arcane_impl;arcane_mesh;arcane_launcher;arcane_core;arcane_geometry;arcane_std;arcane_cea;arcane_materials;arcane_cea_geometric" - INTERFACE_LINK_OPTIONS "-Wl,--no-as-needed" - ) - - set_target_properties(arcane PROPERTIES - INTERFACE_INCLUDE_DIRECTORIES "${Arcane_INCLUDE_DIRS}") - -else() - message(status "TARGET ARCANE_FULL NOT FOUND") -endif() -# ---------------------------------------------------------------------------- -# ---------------------------------------------------------------------------- - -# alien - -# NB: en dernier car alien charge eventuellement d'autres packages -# si le package existe deja, on ne fait rien -loadPackage(NAME Alien) - -if(USE_ARCANE_V3) -# arccon fix -if (TARGET arcconpkg_Hypre) -else() - add_library(arcconpkg_Hypre UNKNOWN IMPORTED) - - set_target_properties(arcconpkg_Hypre PROPERTIES - INTERFACE_INCLUDE_DIRECTORIES "${HYPRE_INCLUDE_DIRS}") - - set_target_properties(arcconpkg_Hypre PROPERTIES - IMPORTED_LINK_INTERFACE_LANGUAGES "CXX" - IMPORTED_LOCATION "${HYPRE_LIBRARY}") -endif() - -if (TARGET arcconpkg_PETSc) -else() - add_library(arcconpkg_PETSc INTERFACE IMPORTED) - - set_property(TARGET petsc APPEND PROPERTY - INTERFACE_LINK_LIBRARIES "petsc_main") -endif() - -#if (TARGET arcconpkg_SuperLU) -#else() -# add_library(arcconpkg_SuperLU UNKNOWN IMPORTED) -# set_target_properties(superlu PROPERTIES -# IMPORTED_LINK_INTERFACE_LANGUAGES "CXX" -# IMPORTED_LOCATION "${SUPERLU_LIBRARY}" -# IMPORTED_NO_SONAME ON) -#endif() - -if (TARGET arcconpkg_MTL4) -else() - add_library(arcconpkg_MTL4 UNKNOWN IMPORTED) -endif() - - -if (TARGET arcconpkg_TBB) -else() - add_library(arcconpkg_TBB UNKNOWN IMPORTED) - - set_target_properties(arcconpkg_TBB PROPERTIES - INTERFACE_INCLUDE_DIRECTORIES "${TBB_INCLUDE_DIRS}" - INTERFACE_LINK_LIBRARIES "$<$:${TBB_LIBRARY_DEBUG}>$<$:${TBB_LIBRARY_RELEASE}>") - - set_target_properties(arcconpkg_TBB PROPERTIES - IMPORTED_CONFIGURATIONS RELEASE - IMPORTED_LINK_INTERFACE_LANGUAGES_RELEASE "CXX" - IMPORTED_LOCATION_RELEASE "${TBB_LIBRARY_RELEASE}") - - set_target_properties(arcconpkg_TBB PROPERTIES - IMPORTED_CONFIGURATIONS DEBUG - IMPORTED_LINK_INTERFACE_LANGUAGES_DEBUG "CXX" - IMPORTED_LOCATION_DEBUG "${TBB_LIBRARY_DEBUG}") -endif() - -if (TARGET arcconpkg_HDF5) -else() - add_library(arcconpkg_HDF5 UNKNOWN IMPORTED) - - set_target_properties(arcconpkg_HDF5 PROPERTIES - INTERFACE_INCLUDE_DIRECTORIES "${HDF5_INCLUDE_DIRS}") - - set_target_properties(arcconpkg_HDF5 PROPERTIES - IMPORTED_LINK_INTERFACE_LANGUAGES "CXX" - IMPORTED_LOCATION "${HDF5_LIBRARY}") -endif() -endif() -# ---------------------------------------------------------------------------- -# ---------------------------------------------------------------------------- - -# Les packages ont ete trouves (ou non) -# ArcGeoSim necessite pour certains une option USE_ -# on la genere ici ainsi les finders restent generiques - -foreach(target harts petsc nvamg numa mcgsolver ifpsolver hypre eigen3 eigen2 gperftools) - if(TARGET ${target}) - string(TOUPPER ${target} name) - set_target_properties(${target} PROPERTIES - INTERFACE_COMPILE_DEFINITIONS "USE_${name}") - endif() -endforeach() - -if(TARGET mtl) - set_target_properties(mtl PROPERTIES - INTERFACE_COMPILE_DEFINITIONS "USE_MTL4") -endif() - -if(TARGET geometrykernel) - set_target_properties(geometrykernel PROPERTIES - INTERFACE_COMPILE_DEFINITIONS "USE_GK") -endif() - -if(TARGET mkl) - set_target_properties(mkl PROPERTIES - INTERFACE_COMPILE_DEFINITIONS "USE_MKL") -endif() - -# ---------------------------------------------------------------------------- -# ---------------------------------------------------------------------------- diff --git a/common/ArcaneInfra/build-system/arcgeosim/LoadArcGeoSimTestingTools.cmake b/common/ArcaneInfra/build-system/arcgeosim/LoadArcGeoSimTestingTools.cmake deleted file mode 100644 index 47684b0..0000000 --- a/common/ArcaneInfra/build-system/arcgeosim/LoadArcGeoSimTestingTools.cmake +++ /dev/null @@ -1,468 +0,0 @@ -# -*- cmake -*- - -# driver pour windows -# NB: d�pendance � cygwin ... -if(WIN32) - set(SCRIPT_DRIVER c:/cygwin64/bin/sh.exe) -endif() - -set(TEST_VALI_DIR ${PROJECT_BINARY_DIR}/test/vali) -file(MAKE_DIRECTORY ${TEST_VALI_DIR}) -set(TEST_OUTPUT_ROOT_DIR ${PROJECT_BINARY_DIR}/test/outputs) -file(MAKE_DIRECTORY ${TEST_OUTPUT_ROOT_DIR}) - -#----------------------------------------------------------- -# DEFINITIONS -#----------------------------------------------------------- - -#if(NOT TESTING_ROOT) -# set(TESTING_ROOT ${PROJECT_ROOT}) -# set(FORCE_EMBEDDED FALSE) -#else() -# set(FORCE_EMBEDDED TRUE) -# set(TESTING_FILTER "yes") -#endif() - -#set(CODE_NAME ${PROJECT_NAME}) - -# Main ArcGeoSim test -macro(_arcgeosim_add_test) - # More infos in http://www.cmake.org/cmake/help/v2.8.8/cmake.html#section_PropertiesonTests - # CDash example : http://cdash.inria.fr/CDash/ - - set(options WILL_FAIL RUN_SERIAL SEQUENTIAL) - set(oneValueArgs TEST_NAME CONFIG_FILE CASE_FILE CASE_DIR) - list(APPEND oneValueArgs MPI TIMEOUT ENVIRONMENT RESOURCE_LOCK RESTART) - set(multiValueArgs CONFIGURATIONS) - - cmake_parse_arguments(ARGS "${options}" "${oneValueArgs}" "${multiValueArgs}" ${ARGN}) - - if(ARGS_UNPARSED_ARGUMENTS) - logFatalError("unparsed arguments '${ARGS_UNPARSED_ARGUMENTS}'") - endif() - - if(NOT ARGS_TEST_NAME) - logFatalError("_arcgeosim_add_test needs TEST_NAME") - endif() - - if(NOT ARGS_CONFIG_FILE) - logFatalError("_arcgeosim_add_test needs CONFIG_FILE") - endif() - - if(NOT ARGS_CASE_FILE) - logFatalError("_arcgeosim_add_test needs CASE_FILE") - endif() - - if(NOT ARGS_CASE_DIR) - logFatalError("_arcgeosim_add_test needs ARGS_CASE_DIR") - endif() - - if(ARGS_MPI) - if(ARGS_SEQUENTIAL) - logFatalError("MPI and SEQUENTIAL can't be used in same test") - endif() - string(REGEX MATCH "^[1-9][0-9]*$" CURRENT_ARG_IS_NUMBER ${ARGS_MPI}) - if(NOT CURRENT_ARG_IS_NUMBER) - logFatalError("MPI argument is not a positive number : ${ARGS_MPI}") - endif() - set(OPT_RUN_MODE Mpi) - set(OPT_PROCESSORS ${ARGS_MPI}) - else() # d�faut - set(OPT_RUN_MODE Seq) - set(OPT_PROCESSORS 1) - endif() - - - if(ARGS_ENVIRONMENT) - set(OPT_ENVIRONMENT ${ARGS_ENVIRONMENT}) - else() - unset(OPT_ENVIRONMENT) - endif() - - if(ARGS_RESOURCE_LOCK) - set(OPT_RESOURCE_LOCK ${ARGS_RESOURCE_LOCK}) - endif() - - if(ARGS_TIMEOUT) - string(REGEX MATCH "^[1-9][0-9]*$" CURRENT_ARG_IS_NUMBER ${ARGS_TIMEOUT}) - if(NOT CURRENT_ARG_IS_NUMBER) - logFatalError("TIMEOUT argument is not a positive number : ${ARGS_TIMEOUT}") - endif() - set(OPT_TIMEOUT ${ARGS_TIMEOUT}) - else() - set(OPT_TIMEOUT 120) - endif() - - if(ARGS_RESTART) - string(REGEX MATCH "^[1-9][0-9]*$" CURRENT_ARG_IS_NUMBER ${ARGS_RESTART}) - if(NOT CURRENT_ARG_IS_NUMBER) - logFatalError("RESTART argument is not a positive number : ${ARGS_RESTART}") - endif() - set(OPT_RESTART ${ARGS_RESTART}) - else() - set(OPT_RESTART 0) - endif() - - if(ARGS_WILL_FAIL) - set(OPT_WILL_FAIL "true") - else() - set(OPT_WILL_FAIL "false") - endif() - - if(ARGS_RUN_SERIAL) - set(ARGS_RUN_SERIAL "true") - else() - set(ARGS_RUN_SERIAL "false") - endif() - - set(FULL_TEST_NAME) - if(${OPT_RUN_MODE} STREQUAL "Seq") - set(FULL_TEST_NAME "${ARGS_TEST_NAME}") - elseif(${OPT_RUN_MODE} STREQUAL "Mpi") - set(FULL_TEST_NAME "${ARGS_TEST_NAME}_${OPT_PROCESSORS}proc") - else() - logFatalError("'${OPT_RUN_MODE}' run mode not supported") - endif() - - if(FORCE_EMBEDDED) - set(OPT_RUN_MODE "Embedded") - endif(FORCE_EMBEDDED) - - set(TEST_UNITARY_OUTPUT_DIR ${TEST_OUTPUT_ROOT_DIR}/${FULL_TEST_NAME}) - # creation du repertoire pour les outputs du test - file(MAKE_DIRECTORY ${TEST_UNITARY_OUTPUT_DIR}) - if(NOT TESTING_FILTER OR ${ARGS_CONFIG_FILE} STREQUAL ${PROJECT_NAME}) - - if(NOT ${NewBuildSystem}) - add_test( - NAME ${FULL_TEST_NAME} - COMMAND ${SCRIPT_DRIVER} ${PROJECT_SOURCE_DIR}/common/ArcaneInfra/bin/ArcaneTest.sh - ${ARGS_TEST_NAME} - ${FULL_TEST_NAME} - ${PROJECT_SOURCE_DIR} - ${PROJECT_BINARY_DIR} - ${PROJECT_BIN} - ${PROJECT_NAME} - ${ARGS_CONFIG_FILE} - ${ARGS_CASE_FILE} - ${TEST_VALI_DIR} - ${OPT_RUN_MODE} - ${OPT_PROCESSORS} - ${OPT_RESTART} - ) - else() - add_test( - NAME ${FULL_TEST_NAME} - COMMAND ${SCRIPT_DRIVER} ${PROJECT_SOURCE_DIR}/common/ArcaneInfra/bin/ArcaneTest.sh - ${ARGS_TEST_NAME} - ${FULL_TEST_NAME} - ${PROJECT_SOURCE_DIR} - ${PROJECT_BINARY_DIR} - $ - ${PROJECT_NAME} - ${ARGS_CONFIG_FILE} - ${ARGS_CASE_FILE} - ${TEST_VALI_DIR} - ${OPT_RUN_MODE} - ${OPT_PROCESSORS} - ${OPT_RESTART} - ) - endif() - - set_tests_properties(${FULL_TEST_NAME} PROPERTIES WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}/${ARGS_CASE_DIR}) - set_tests_properties(${FULL_TEST_NAME} PROPERTIES TIMEOUT ${OPT_TIMEOUT}) - set_tests_properties(${FULL_TEST_NAME} PROPERTIES PROCESSORS ${OPT_PROCESSORS}) - - set_tests_properties(${FULL_TEST_NAME} PROPERTIES ENVIRONMENT ARCANE_OUTPUT_ROOT_PATH=${TEST_UNITARY_OUTPUT_DIR}) - set_property(TEST ${FULL_TEST_NAME} APPEND PROPERTY ENVIRONMENT ARCANE_PARALLEL_OUTPUT_PREFIX=${TEST_UNITARY_OUTPUT_DIR}) - - if(ARGS_CONFIGURATIONS) - set_tests_properties(${FULL_TEST_NAME} PROPERTIES LABELS "${ARGS_CONFIGURATIONS}") - endif() - if(WIN32) - # ajout du chemin des dlls au PATH - set(PATH ${BUILDSYSTEM_DLL_COPY_DIRECTORY}) - list(APPEND PATH $ENV{PATH}) - string(REPLACE ";" "\\;" PATH "${PATH}") - string(REPLACE "/" "\\" PATH "${PATH}") - set_property(TEST ${FULL_TEST_NAME} APPEND PROPERTY ENVIRONMENT "PATH=${PATH}") - if(OPT_ENVIRONMENT) - set_property(TEST ${FULL_TEST_NAME} APPEND PROPERTY ENVIRONMENT ${OPT_ENVIRONMENT}) - endif() - else() - if(OPT_ENVIRONMENT) - set_property(TEST ${FULL_TEST_NAME} APPEND PROPERTY ENVIRONMENT ${OPT_ENVIRONMENT}) - endif() - endif() - if(OPT_WILL_FAIL) - set_tests_properties(${FULL_TEST_NAME} PROPERTIES WILL_FAIL ${OPT_WILL_FAIL}) - endif() - if(OPT_RUN_SERIAL) - set_tests_properties(${FULL_TEST_NAME} PROPERTIES RUN_SERIAL ${OPT_RUN_SERIAL}) - endif() - if(OPT_RESOURCE_LOCK) - set_tests_properties(${FULL_TEST_NAME} PROPERTIES RESOURCE_LOCK ${OPT_RESOURCE_LOCK}) - endif() - else() - message(STATUS "Skip non ${PROJECT_NAME} test case : ${ARGS_TEST_NAME}") - endif() - -endmacro() - - -#----------------------------------------------------------- -# testing macros -#----------------------------------------------------------- - -macro(ARCGEOSIM_ADD_TEST test_name config_file case_dir case_file) - _arcgeosim_add_test( - TEST_NAME ${test_name} - CONFIG_FILE ${config_file} - CASE_DIR ${case_dir} - CASE_FILE ${case_file} - ${ARGN} - ) -endmacro() - -# Add a sequential test -macro(ARCANE_ADD_TEST_SEQUENTIAL test_name config_file case_dir case_file) - _arcgeosim_add_test( - TEST_NAME ${test_name} - CONFIG_FILE ${config_file} - CASE_DIR ${case_dir} - CASE_FILE ${case_file} - SEQUENTIAL - ) -endmacro() - -macro(ARCANE_ADD_TEST_SEQUENTIAL_LONGTIME test_name config_file case_dir case_file timeout) - _arcgeosim_add_test( - TEST_NAME ${test_name} - CONFIG_FILE ${config_file} - CASE_DIR ${case_dir} - CASE_FILE ${case_file} - TIMEOUT ${timeout} - SEQUENTIAL - ) -endmacro() - -# add a standard test -macro(ARCANE_ADD_TEST_PARALLEL test_name config_file case_dir case_file nproc) - _arcgeosim_add_test( - TEST_NAME ${test_name} - CONFIG_FILE ${config_file} - CASE_DIR ${case_dir} - CASE_FILE ${case_file} - MPI ${nproc} - ) -endmacro() - -macro(ARCANE_ADD_TEST_PARALLEL_LONGTIME test_name config_file case_dir case_file nproc timeout) - _arcgeosim_add_test( - TEST_NAME ${test_name} - CONFIG_FILE ${config_file} - CASE_DIR ${case_dir} - CASE_FILE ${case_file} - MPI ${nproc} - TIMEOUT ${timeout} - ) -endmacro() - -macro(ARCANE_ADD_TEST test_name config_file case_dir case_file) - ARCANE_ADD_TEST_SEQUENTIAL(${test_name} ${config_file} ${case_dir} ${case_file}) - ARCANE_ADD_TEST_PARALLEL(${test_name} ${config_file} ${case_dir} ${case_file} 1) - ARCANE_ADD_TEST_PARALLEL(${test_name} ${config_file} ${case_dir} ${case_file} 4) -endmacro() - -macro(ARCANE_ADD_TEST_LONGTIME test_name config_file case_dir case_file timeout) - ARCANE_ADD_TEST_SEQUENTIAL_LONGTIME(${test_name} ${config_file} ${case_dir} ${case_file} ${timeout}) - ARCANE_ADD_TEST_PARALLEL_LONGTIME(${test_name} ${config_file} ${case_dir} ${case_file} 1 ${timeout}) - ARCANE_ADD_TEST_PARALLEL_LONGTIME(${test_name} ${config_file} ${case_dir} ${case_file} 4 ${timeout}) -endmacro() - -# add a convergence test -#macro(ARCANE_ADD_CONVERGENCE_TEST test_name config_file test_dir test_dir_xml test_xml nproc) -# set(SEQUENTIAL ${nproc} SMALLER 2) -# set(FULL_TEST_NAME "${test_name}_${nproc}proc") -# if(SEQUENTIAL OR MPI_FOUND EQUAL "YES") -# ADD_TEST( -# NAME ${FULL_TEST_NAME} -# COMMAND -# ${SCRIPT_DRIVER} ${ARCANEINFRA_BIN_DIR}/convergenceTest.sh -# ${test_name} -# ${FULL_TEST_NAME} -# ${TESTING_ROOT} -# ${CMAKE_BINARY_DIR} -# ${PROJECT_BIN} -# ${CODE_NAME} -# ${config_file} -# ${test_dir_xml} -# ${test_xml} -# ${TEST_OUTPUT_PATH} -# ${nproc}) -# set_tests_properties(${FULL_TEST_NAME} PROPERTIES WORKING_DIRECTORY ${PROJECT_ROOT}/${test_dir}) -# set_tests_properties(${FULL_TEST_NAME} PROPERTIES TIMEOUT ${DEFAULT_OPT_TIMEOUT}) -# set_tests_properties(${FULL_TEST_NAME} PROPERTIES PROCESSORS ${nproc}) -# endif(SEQUENTIAL OR MPI_FOUND EQUAL "YES") -#endmacro(ARCANE_ADD_CONVERGENCE_TEST) - - -function(registerLabelTestInfo test) - - set(options) - set(oneValueArgs) - set(multiValueArgs LABELS) - - cmake_parse_arguments(ARGS "${options}" "${oneValueArgs}" "${multiValueArgs}" ${ARGN}) - - if(NOT ARGS_LABELS) - logFatalError("no label defined") - endif() - - get_property(labels GLOBAL PROPERTY ${PROJECT_NAME}_LABELS) - list(APPEND labels ${ARGS_LABELS}) - list(REMOVE_DUPLICATES labels) - set_property(GLOBAL PROPERTY ${PROJECT_NAME}_LABELS ${labels}) - foreach(label ${ARGS_LABELS}) - get_property(tests GLOBAL PROPERTY ${label}_TESTS) - list(APPEND tests ${test}) - set_property(GLOBAL PROPERTY ${label}_TESTS ${tests}) - endforeach() -endfunction() - -macro(AddTest) - - set(options) - set(oneValueArgs CONFIG FILE NAME MPI TIMEOUT RESTART TIMEOUT_RELEASE TIMEOUT_DEBUG) - set(multiValueArgs LABELS) - - cmake_parse_arguments(ARGS "${options}" "${oneValueArgs}" "${multiValueArgs}" ${ARGN} ) - - if(ARGS_UNPARSED_ARGUMENTS) - logFatalError("unparsed arguments '${ARGS_UNPARSED_ARGUMENTS}'") - endif() - - if(NOT ARGS_NAME) - logFatalError("test should have a name") - endif() - - if(NOT ARGS_FILE) - logFatalError("test should have a file") - else() - if(NOT EXISTS ${PROJECT_SOURCE_DIR}/${ARGS_FILE}) - logFatalError("test file does not exist : ${ARGS_FILE}") - endif() - get_filename_component(path ${ARGS_FILE} DIRECTORY) - get_filename_component(name ${ARGS_FILE} NAME) - endif() - - unset(labels) - unset(config) - unset(parallel) - unset(timeout) - unset(restart) - - if(NOT ARGS_CONFIG) - set(config ${PROJECT_NAME}) - endif() - - if(NOT ARGS_MPI) - set(parallel SEQUENTIAL) - list(APPEND labels Sequential) - else() - set(parallel MPI ${ARGS_MPI}) - list(APPEND labels Parallel) - endif() - - if(ARGS_TIMEOUT_RELEASE AND CMAKE_BUILD_TYPE STREQUAL "Release") - set(ARGS_TIMEOUT ${ARGS_TIMEOUT_RELEASE}) - endif() - - if(ARGS_TIMEOUT_DEBUG AND CMAKE_BUILD_TYPE STREQUAL "Debug") - set(ARGS_TIMEOUT ${ARGS_TIMEOUT_DEBUG}) - endif() - - if(ARGS_TIMEOUT) - set(timeout TIMEOUT ${ARGS_TIMEOUT}) - # Removed label Timeout as it might not be usefull - # list(APPEND labels Timeout) - # TIMEOUT value "120" appears twice. If it should be modified, it should be modified everywhere - if(NOT WIN32) - if(ARGS_TIMEOUT GREATER 120) - list(APPEND labels Long) - endif() - else() - if(ARGS_TIMEOUT GREATER 300) - list(APPEND labels Long) - endif() - endif() - endif() - - if(ARGS_RESTART) - set(restart RESTART ${ARGS_RESTART}) - list(APPEND labels Restart) - endif() - - if(ARGS_LABELS) - list(APPEND labels ${ARGS_LABELS}) - list(REMOVE_DUPLICATES labels) - endif() - - registerLabelTestInfo(${ARGS_NAME} LABELS ${labels}) - - ARCGEOSIM_ADD_TEST(${ARGS_NAME} - ${config} - ${path} - ${name} - CONFIGURATIONS "${labels}" - ${parallel} - ${timeout} - ${restart} - ) - -endmacro() - -macro(AddSeqAndParallelTest) - set(options) - set(oneValueArgs MPI) - set(multiValueArgs) - cmake_parse_arguments(ARGS "${options}" "${oneValueArgs}" "${multiValueArgs}" ${ARGN} ) - - if(NOT ARGS_MPI) - AddTest(${ARGN}) - else() - set(nbProc ${ARGS_MPI}) - set(unParsedAsList ${ARGN}) - list(FIND unParsedAsList "MPI" MPIIndex) - MATH(EXPR NbProcsIndex "${MPIIndex}+1") - list(REMOVE_AT unParsedAsList ${MPIIndex} ${NbProcsIndex}) - AddTest(${unParsedAsList}) # Sequential - if(nbProc GREATER 0) - AddTest(MPI 1 ${unParsedAsList}) # Parallel 1 proc - endif() - if(nbProc GREATER 1) - AddTest(MPI ${nbProc} ${unParsedAsList}) # Parallel more than 1 proc - endif() - endif() - -endmacro() - -macro(resumeTestInfos) - - logStatus("---------------------------------------------------") - logStatus("** Testing Informations :") - - get_property(labels GLOBAL PROPERTY ${PROJECT_NAME}_LABELS) - list(LENGTH labels nb_labels) - - logStatus("** We have defined ${nb_labels} label(s) :") - - foreach(label ${labels}) - get_property(tests GLOBAL PROPERTY ${label}_TESTS) - list(LENGTH tests nb_tests) - - logStatus(" * ${label} : ${nb_tests} test(s)") - - endforeach() - -endmacro() diff --git a/common/ArcaneInfra/build-system/arcgeosim/PrintArcGeoSimInformations.cmake b/common/ArcaneInfra/build-system/arcgeosim/PrintArcGeoSimInformations.cmake deleted file mode 100644 index ae2119d..0000000 --- a/common/ArcaneInfra/build-system/arcgeosim/PrintArcGeoSimInformations.cmake +++ /dev/null @@ -1,21 +0,0 @@ -# ---------------------------------------------------------------------------- -# ---------------------------------------------------------------------------- - -message_separator() -logStatus("Load options from ArcGeoSim :") - -printOptionInformations() - -message_separator() -logStatus("Load languages from ArcGeoSim :") - -printLanguageInformations() - -message_separator() -logStatus("Load packages from ArcGeoSim :") - -printPackageInformations() -message_separator() - -# ---------------------------------------------------------------------------- -# ---------------------------------------------------------------------------- diff --git a/common/ArcaneInfra/build-system/configs/IFP-Linux-x86_64+VENDOR.cmake b/common/ArcaneInfra/build-system/configs/IFP-Linux-x86_64+VENDOR.cmake deleted file mode 100644 index d27c275..0000000 --- a/common/ArcaneInfra/build-system/configs/IFP-Linux-x86_64+VENDOR.cmake +++ /dev/null @@ -1,209 +0,0 @@ -############################# Packages for both debug/release modes ################################ - -set(IRSRVSOFT /soft/irsrvsoft1/expl) -set(INFRADEV /home/irsrvshare1/R11/infradev/softs) -set(ARCUSER /home/irsrvshare1/R11/arcuser) -set(ARCUSERSOFT /home/irsrvshare1/R11/arcuser/softs) - -set(ARCANE_PATH_PREFIX - ${ARCUSER}/Arcane/${ARCANE_VERSION}/Linux/${RHEL_TAG}/x86_64 - CACHE INTERNAL "Arcane path prefix") - -if(NOT TARGET old_alien) - set(MPI_ROOT - ${IRSRVSOFT}/IntelMPI_4.0.2/impi_4.0.2.003/intel64 - CACHE INTERNAL "Mpi root path") - - set(BOOST_ROOT - ${ARCUSERSOFT}/boost/1_62_0/Linux/RHEL6/x86_64/ref-gcc472 - CACHE INTERNAL "Boost root path") - - set(MKL_ROOT - ${IRSRVSOFT}/Intel_11.0/mkl - CACHE INTERNAL "MKL root path") - - set(BINUTILS_ROOT - ${ARCUSERSOFT}/binutils/2.17/Linux/RHEL5/x86_64 - CACHE INTERNAL "BinUtils root path") - - set(EIGEN3_ROOT - ${INFRADEV}/eigen/3.3 - CACHE INTERNAL "Eigen3 root path") - - set(EIGEN2_ROOT - ${INFRADEV}/eigen - CACHE INTERNAL "Eigen2 root path") - - set(UMFPACK_ROOT - ${ARCUSERSOFT}/suitesparse/5.5/Linux/RHEL5/x86_64/ref-gcc412-without-metis - CACHE INTERNAL "Umfpack root path") - - set(GEOMETRYKERNEL_VERSION - 201507-3d2d-simple_corefinement_algorithm - CACHE INTERNAL "Geometry version") - - set(CUDA_ROOT - /home/irsrvshare1/R11/X_HPC/CUDA_7.0_RHEL6/cuda - CACHE INTERNAL "Cuda root path") - - ############################# Packages specialized for debug/release modes ################################ - - # RELEASE - if(CMAKE_BUILD_TYPE STREQUAL "Release") - - set(ARCANE_ROOT - ${ARCANE_PATH_PREFIX}/ref-gcc47-intelMPI4 - CACHE INTERNAL "Arcane root path") - - set(ALIEN_ROOT - ${ARCUSER}/Alien/1.0/Linux/RHEL6/x86_64/ref-wo-metis-gcc47-intelMPI4 - CACHE INTERNAL "ALIEN root path") - - set(ALIEN_VERSION 1.0 - CACHE INTERNAL "ALIEN VERSION") - - set(GEOMETRYKERNEL_ROOT - ${ARCUSERSOFT}/GeometryKernel/${GEOMETRYKERNEL_VERSION}/Linux/RHEL5/x86_64/ref - CACHE INTERNAL "GeometryKernel root path") - - endif() - - # DEBUG - if(CMAKE_BUILD_TYPE STREQUAL "Debug") - - set(ARCANE_ROOT - ${ARCANE_PATH_PREFIX}/dbg-gcc47-intelMPI4 - CACHE INTERNAL "Arcane root path") - - set(ALIEN_ROOT - ${ARCUSER}/Alien/1.0/Linux/RHEL6/x86_64/dbg-wo-metis-gcc47-intelMPI4 - CACHE INTERNAL "ALIEN root path") - - set(ALIEN_VERSION 1.0 - CACHE INTERNAL "ALIEN VERSION") - - set(GEOMETRYKERNEL_ROOT - ${ARCUSERSOFT}/GeometryKernel/${GEOMETRYKERNEL_VERSION}/Linux/RHEL5/x86_64/debug - CACHE INTERNAL "GeometryKernel root path") - - endif() - - ########################################################################################################## - - unset(IRSRVSOFT) - unset(INFRADEV) - unset(ARCUSER) - -else() - - set(INTEL_ROOT - ${IRSRVSOFT}/Intel_12.1.3/composer_xe_2011_sp1.9.293/compiler - CACHE INTERNAL "Intel root path") - - set(MPI_ROOT - ${IRSRVSOFT}/IntelMPI_4.0.2/impi_4.0.2.003/intel64 - CACHE INTERNAL "Mpi root path") - - set(BOOST_ROOT - ${ARCUSERSOFT}/boost/1_62_0/Linux/RHEL6/x86_64/ref-gcc472 - CACHE INTERNAL "Boost root path") - - set(MKL_ROOT - ${IRSRVSOFT}/Intel_11.0/mkl - CACHE INTERNAL "MKL root path") - - set(PETSC_ROOT - ${ARCUSERSOFT}/petsc/3.1-p3/Linux/RHEL6/x86_64/ref-intel12-IntelMPI_4.0-mkl-without-metis-with-hypre2.10.1 - CACHE INTERNAL "PETSc root path") - - set(HYPRE_ROOT - ${INFRADEV}/hypre/hypre-2.10.1/Linux/RHEL6/x86_64/ref-intel12-intelmpi4.0.2-mkl-4arcgeosim - CACHE INTERNAL "Hypre root path") - - set(IFPSOLVER_ROOT - ${INFRADEV}/IFPSolver/2017-a/Linux/RHEL6/x86_64/ref-mpi-IntelMPI4.0-intel12.1 - CACHE INTERNAL "IFPSolver root path") - - set(HWLOC_ROOT - ${INFRADEV}/hwloc/Linux/RHEL6/x86_64 - CACHE INTERNAL "HWLoc root path") - - set(NUMA_ROOT - /usr - CACHE INTERNAL "Numa root path") - - set(NVAMG_ROOT - /home/irsrvshare1/R11/X_HPC/tools/nvamg/24.12.2014 - CACHE INTERNAL "NvAMG root path") - - set(MTL_ROOT - ${INFRADEV}/mtl4 - CACHE INTERNAL "MTL root path") - - set(LIBXML2_ROOT - ${ARCUSERSOFT}/libxml2/2.9.2/Linux/RHEL6/x86_64/ref-gcc472 - CACHE INTERNAL "LibXML2 root path") - - set(HDF5_ROOT - ${ARCUSERSOFT}/hdf5/1.8.8/Linux/RHEL5/x86_64/ref-gcc462 - CACHE INTERNAL "Hdf5 root path") - - set(BINUTILS_ROOT - ${ARCUSERSOFT}/binutils/2.17/Linux/RHEL5/x86_64 - CACHE INTERNAL "BinUtils root path") - - set(EIGEN3_ROOT - ${INFRADEV}/eigen/3.3 - CACHE INTERNAL "Eigen3 root path") - - set(EIGEN2_ROOT - ${INFRADEV}/eigen - CACHE INTERNAL "Eigen2 root path") - - set(UMFPACK_ROOT - ${ARCUSERSOFT}/suitesparse/5.5/Linux/RHEL5/x86_64/ref-gcc412-without-metis - CACHE INTERNAL "Umfpack root path") - - set(SUPERLU_ROOT - ${ARCUSERSOFT}/superlu/4.0/Linux/RHEL6/x86_64/ref-intel12 - CACHE INTERNAL "Superlu root path") - - set(GEOMETRYKERNEL_VERSION - 201507-3d2d-simple_corefinement_algorithm - CACHE INTERNAL "Geometry version") - - ############################# Packages specialized for debug/release modes ################################ - - # RELEASE - if(CMAKE_BUILD_TYPE STREQUAL "Release") - - set(ARCANE_ROOT - ${ARCANE_PATH_PREFIX}/ref-gcc47-intelMPI4 - CACHE INTERNAL "Arcane root path") - - set(GEOMETRYKERNEL_ROOT - ${ARCUSERSOFT}/GeometryKernel/${GEOMETRYKERNEL_VERSION}/Linux/RHEL5/x86_64/ref - CACHE INTERNAL "GeometryKernel root path") - - endif() - - # DEBUG - if(CMAKE_BUILD_TYPE STREQUAL "Debug") - - set(ARCANE_ROOT - ${ARCANE_PATH_PREFIX}/dbg-gcc47-intelMPI4 - CACHE INTERNAL "Arcane root path") - - set(GEOMETRYKERNEL_ROOT - ${ARCUSERSOFT}/GeometryKernel/${GEOMETRYKERNEL_VERSION}/Linux/RHEL5/x86_64/debug - CACHE INTERNAL "GeometryKernel root path") - - endif() - - ########################################################################################################## - - unset(IRSRVSOFT) - unset(INFRADEV) - unset(ARCUSER) - -endif() \ No newline at end of file diff --git a/common/ArcaneInfra/build-system/configs/IFP-Linux-x86_64.cmake b/common/ArcaneInfra/build-system/configs/IFP-Linux-x86_64.cmake deleted file mode 100644 index 79deda0..0000000 --- a/common/ArcaneInfra/build-system/configs/IFP-Linux-x86_64.cmake +++ /dev/null @@ -1,263 +0,0 @@ -############################# Packages for both debug/release modes ################################ - -set(IRSRVSOFT /soft/irsrvsoft1/expl) -set(INFRADEV /home/irsrvshare1/R11/infradev/softs) -set(ARCUSER /home/irsrvshare1/R11/arcuser) -set(ARCUSERSOFT /home/irsrvshare1/R11/arcuser/softs) - -set(ARCANE_PATH_PREFIX - ${ARCUSER}/Arcane/${ARCANE_VERSION}/Linux/${RHEL_TAG}/x86_64 - CACHE INTERNAL "Arcane path prefix") - -if(NOT TARGET old_alien) - - set(CUDA_ROOT - /home/irsrvshare1/R11/X_HPC/CUDA_6.5_RHEL6/cuda - CACHE INTERNAL "CUDA root path") - - set(MPI_ROOT - ${IRSRVSOFT}/IntelMPI_4.0.2/impi_4.0.2.003/intel64 - CACHE INTERNAL "Mpi root path") - - set(BOOST_ROOT - ${ARCUSERSOFT}/boost/1_62_0/Linux/RHEL6/x86_64/ref-gcc472 - CACHE INTERNAL "Boost root path") - - set(MKL_ROOT - ${IRSRVSOFT}/Intel_11.0/mkl - CACHE INTERNAL "MKL root path") - - set(BINUTILS_ROOT - ${ARCUSERSOFT}/binutils/2.17/Linux/RHEL5/x86_64 - CACHE INTERNAL "BinUtils root path") - - set(EIGEN3_ROOT - ${INFRADEV}/eigen/3.3 - CACHE INTERNAL "Eigen3 root path") - - set(EIGEN2_ROOT - ${INFRADEV}/eigen - CACHE INTERNAL "Eigen2 root path") - - set(UMFPACK_ROOT - ${ARCUSERSOFT}/suitesparse/5.5/Linux/RHEL5/x86_64/ref-gcc412-without-metis - CACHE INTERNAL "Umfpack root path") - - set(GEOMETRYKERNEL_VERSION - 201507-3d2d-simple_corefinement_algorithm - CACHE INTERNAL "Geometry version") - - set(GPERFTOOLS_ROOT - ${INFRADEV}/google-perftools - CACHE INTERNAL "Google perf tools path") - - # use by google-perftools trace introspection - set(LIBUNWIND_ROOT - ${INFRADEV}/unwind - CACHE INTERNAL "Unwind path") - - set(CARNOT_VERSION "V3.1.7.3") - set(CARNOT_ROOT - ${INFRADEV}/carnot - CACHE INTERNAL "Carnot root path") - - - set(GMSH_VERSION "4.1.3") - set(GMSH_ROOT - ${INFRADEV}/gmsh/centos_6/4.1.3 - CACHE INTERNAL "GMSH root path") - - ############################# Packages specialized for debug/release modes ################################ - - # RELEASE - if(CMAKE_BUILD_TYPE STREQUAL "Release") - - set(ARCANE_ROOT - ${ARCANE_PATH_PREFIX}/ref-gcc47-intelMPI4 - CACHE INTERNAL "Arcane root path") - - set(ALIEN_ROOT - ${ARCUSER}/Alien/1.0/Linux/RHEL6/x86_64/ref-arcane-gcc47-intelMPI4 - CACHE INTERNAL "ALIEN root path") - - set(ALIEN_VERSION 1.0 - CACHE INTERNAL "ALIEN VERSION") - - set(GEOMETRYKERNEL_ROOT - ${ARCUSERSOFT}/GeometryKernel/${GEOMETRYKERNEL_VERSION}/Linux/RHEL5/x86_64/ref - CACHE INTERNAL "GeometryKernel root path") - - endif() - - # DEBUG - if(CMAKE_BUILD_TYPE STREQUAL "Debug") - - set(ARCANE_ROOT - ${ARCANE_PATH_PREFIX}/dbg-gcc47-intelMPI4 - CACHE INTERNAL "Arcane root path") - - set(ALIEN_ROOT - ${ARCUSER}/Alien/1.0/Linux/RHEL6/x86_64/dbg-arcane-gcc47-intelMPI4 - CACHE INTERNAL "ALIEN root path") - - set(ALIEN_VERSION 1.0 - CACHE INTERNAL "ALIEN VERSION") - - set(GEOMETRYKERNEL_ROOT - ${ARCUSERSOFT}/GeometryKernel/${GEOMETRYKERNEL_VERSION}/Linux/RHEL5/x86_64/debug - CACHE INTERNAL "GeometryKernel root path") - - endif() - - ########################################################################################################## - - unset(IRSRVSOFT) - unset(INFRADEV) - unset(ARCUSER) - -else() - - set(INTEL_ROOT - ${IRSRVSOFT}/Intel_12.1.3/composer_xe_2011_sp1.9.293/compiler - CACHE INTERNAL "Intel root path") - - set(MPI_ROOT - ${IRSRVSOFT}/IntelMPI_4.0.2/impi_4.0.2.003/intel64 - CACHE INTERNAL "Mpi root path") - - set(BOOST_ROOT - ${ARCUSERSOFT}/boost/1_62_0/Linux/RHEL6/x86_64/ref-gcc472 - CACHE INTERNAL "Boost root path") - - set(MKL_ROOT - ${IRSRVSOFT}/Intel_11.0/mkl - CACHE INTERNAL "MKL root path") - - set(PETSC_ROOT - ${ARCUSERSOFT}/petsc/3.1-p3/Linux/RHEL6/x86_64/ref-intel12-IntelMPI_4.0-mkl-with-hypre2.10.1 - CACHE INTERNAL "PETSc root path") - - set(HYPRE_ROOT - ${INFRADEV}/hypre/hypre-2.10.1/Linux/RHEL6/x86_64/ref-intel12-intelmpi4.0.2-mkl-4arcgeosim - CACHE INTERNAL "Hypre root path") - - set(IFPSOLVER_ROOT - ${INFRADEV}/IFPSolver/2017-a/Linux/RHEL6/x86_64/ref-mpi-IntelMPI4.0-intel12.1 - CACHE INTERNAL "IFPSolver root path") - - set(MCGSOLVER_ROOT - ${INFRADEV}/MCGSolver/svn/Linux/RHEL6/ref-gcc_4.4.6-cuda_5-boost_1.53 - CACHE INTERNAL "MCGSolver root path") - - set(HWLOC_ROOT - ${INFRADEV}/hwloc/Linux/RHEL6/x86_64 - CACHE INTERNAL "HWLoc root path") - - set(CUDA_ROOT - /home/irsrvshare1/R11/X_HPC/CUDA_6.5_RHEL6/cuda - CACHE INTERNAL "Cuda root path") - - set(NUMA_ROOT - /usr - CACHE INTERNAL "Numa root path") - - set(NVAMG_ROOT - /home/irsrvshare1/R11/X_HPC/tools/nvamg/24.12.2014 - CACHE INTERNAL "NvAMG root path") - - set(METIS_ROOT - ${INFRADEV}/metis/METIS/5.0.2/Linux/RHEL6/x86_64/ref-gcc4.4.6 - CACHE INTERNAL "Metis root path") - - set(HARTS_ROOT - ${INFRADEV}/HARTS/V1 - CACHE INTERNAL "HARTS root path") - - set(MTL_ROOT - ${INFRADEV}/mtl4 - CACHE INTERNAL "MTL root path") - - set(LIBXML2_ROOT - ${ARCUSERSOFT}/libxml2/2.9.2/Linux/RHEL6/x86_64/ref-gcc472 - CACHE INTERNAL "LibXML2 root path") - - set(HDF5_ROOT - ${ARCUSERSOFT}/hdf5/1.8.8/Linux/RHEL5/x86_64/ref-gcc462 - CACHE INTERNAL "Hdf5 root path") - - set(BINUTILS_ROOT - ${ARCUSERSOFT}/binutils/2.17/Linux/RHEL5/x86_64 - CACHE INTERNAL "BinUtils root path") - - set(EIGEN3_ROOT - ${ARCUSERSOFT}/eigen3/3.1.1/Linux/RHEL5/noarch - CACHE INTERNAL "Eigen3 root path") - - set(EIGEN2_ROOT - ${INFRADEV}/eigen - CACHE INTERNAL "Eigen2 root path") - - set(UMFPACK_ROOT - ${ARCUSERSOFT}/suitesparse/5.5/Linux/RHEL5/x86_64/ref-gcc412-without-metis - CACHE INTERNAL "Umfpack root path") - - set(SUPERLU_ROOT - ${ARCUSERSOFT}/superlu/4.0/Linux/RHEL6/x86_64/ref-intel12 - CACHE INTERNAL "Superlu root path") - - set(SUPERLU_DIST_ROOT - ${ARCUSERSOFT}/superlu_dist/2.4/Linux/RHEL6/x86_64/ref-intel12-IntelMPI_4.0 - CACHE INTERNAL "Superlu root path") - - set(GEOMETRYKERNEL_VERSION - 201507-3d2d-simple_corefinement_algorithm - CACHE INTERNAL "Geometry version") - - set(GPERFTOOLS_ROOT - ${INFRADEV}/google-perftools - CACHE INTERNAL "Google perf tools path") - - # use by google-perftools trace introspection - set(LIBUNWIND_ROOT - ${INFRADEV}/unwind - CACHE INTERNAL "Unwind path") - - set(CARNOT_VERSION "V3.1.7.3") - set(CARNOT_ROOT - ${INFRADEV}/carnot - CACHE INTERNAL "Carnot root path") - ############################# Packages specialized for debug/release modes ################################ - - # RELEASE - if(CMAKE_BUILD_TYPE STREQUAL "Release") - - set(ARCANE_ROOT - ${ARCANE_PATH_PREFIX}/ref-gcc47-intelMPI4 - CACHE INTERNAL "Arcane root path") - - set(GEOMETRYKERNEL_ROOT - ${ARCUSERSOFT}/GeometryKernel/${GEOMETRYKERNEL_VERSION}/Linux/RHEL5/x86_64/ref - CACHE INTERNAL "GeometryKernel root path") - - endif() - - # DEBUG - if(CMAKE_BUILD_TYPE STREQUAL "Debug") - - set(ARCANE_ROOT - ${ARCANE_PATH_PREFIX}/dbg-gcc47-intelMPI4 - CACHE INTERNAL "Arcane root path") - - set(GEOMETRYKERNEL_ROOT - ${ARCUSERSOFT}/GeometryKernel/${GEOMETRYKERNEL_VERSION}/Linux/RHEL5/x86_64/debug - CACHE INTERNAL "GeometryKernel root path") - - endif() - - ########################################################################################################## - - unset(IRSRVSOFT) - unset(INFRADEV) - unset(ARCUSER) - -endif() diff --git a/common/ArcaneInfra/build-system/configs/IFP-Windows_6.1-AMD64+VENDOR.cmake b/common/ArcaneInfra/build-system/configs/IFP-Windows_6.1-AMD64+VENDOR.cmake deleted file mode 100644 index adac5ad..0000000 --- a/common/ArcaneInfra/build-system/configs/IFP-Windows_6.1-AMD64+VENDOR.cmake +++ /dev/null @@ -1,212 +0,0 @@ -set(ARCGEOSIM_BASE_PATH //irfich3/R11-Group/Rt40_50_prj/D/D1653_Arcane/Public/Windows64) -set(SOFTS_BASE_PATH ${ARCGEOSIM_BASE_PATH}/Softs) -set(INTEL_COMPOSER_PATH "${SOFTS_BASE_PATH}/Intel/Composer XE 2011 SP1") -set(VS10_REDIST_PATH "C:/Program Files (x86)/Microsoft Visual Studio 10.0/VC/redist/x64/Microsoft.VC100.CRT") -set(VS12_REDIST_PATH "C:/Program Files (x86)/Microsoft Visual Studio 12.0/VC/redist/x64/Microsoft.VC120.CRT") - -############################# Arcane libraries ################################ - -set(ARCANE_BASE_PATH ${ARCGEOSIM_BASE_PATH}/Arcane) - -# Sous windows le suivi des liens de type "shortcut" n'est pas natif on utilise donc WindowsPathResolver -exec_program(${WINDOWS_PATH_RESOLVER_TOOL} - ARGS --cmake --directory ${ARCANE_BASE_PATH}/${ARCANE_VERSION} - OUTPUT_VARIABLE RESOLVED_ARCANE_PATH - RETURN_VALUE RESOLVED_ARCANE_RETURN) -if(NOT RESOLVED_ARCANE_RETURN STREQUAL "0") - message(FATAL_ERROR "An error occurs while resolving path '${ARCANE_BASE_PATH}/${ARCANE_VERSION}'") -else() - message(STATUS "Resolved Arcane Path is '${RESOLVED_ARCANE_PATH}'") -endif() - -if(NOT TARGET old_alien) -set(ALIEN_BASE_PATH ${ARCGEOSIM_BASE_PATH}/Alien) -set(ALIEN_VERSION 1.0 - CACHE INTERNAL "ALIEN VERSION") - -# Sous windows le suivi des liens de type "shortcut" n'est pas natif on utilise donc WindowsPathResolver -exec_program(${WINDOWS_PATH_RESOLVER_TOOL} - ARGS --cmake --directory ${ALIEN_BASE_PATH}/${ALIEN_VERSION} - OUTPUT_VARIABLE RESOLVED_ALIEN_PATH - RETURN_VALUE RESOLVED_ALIEN_RETURN) -if(NOT RESOLVED_ALIEN_RETURN STREQUAL "0") - message(FATAL_ERROR "An error occurs while resolving path '${ALIEN_BASE_PATH}/${ALIEN_VERSION}'") -else() - message(STATUS "Resolved Alien Path is '${RESOLVED_ALIEN_PATH}'") -endif() - -# RELEASE -if(CMAKE_BUILD_TYPE STREQUAL "Release") - - set(ARCANE_ROOT - ${RESOLVED_ARCANE_PATH}/Windows/Seven/x86-64/ref-$ENV{VSTUDIO_SHORT_NAME}-IntelMpi4 - CACHE INTERNAL "Arcane root path") - - set(ALIEN_ROOT - ${RESOLVED_ALIEN_PATH}/Windows/Seven/x86-64/ref-arcane-2.2.1-wo-metis-vs12-IntelMpi4 - CACHE INTERNAL "ALIEN root path") -endif() - -# DEBUG -if(CMAKE_BUILD_TYPE STREQUAL "Debug") - set(ARCANE_ROOT - ${RESOLVED_ARCANE_PATH}/Windows/Seven/x86-64/dbg-$ENV{VSTUDIO_SHORT_NAME}-IntelMpi4 - CACHE INTERNAL "Arcane root path") - - set(ALIEN_ROOT - ${RESOLVED_ALIEN_PATH}/Windows/Seven/x86-64/dbg-arcane-2.2.1-wo-metis-vs12-IntelMpi4 - CACHE INTERNAL "ALIEN root path") -endif() - -############################# Other libraries ################################ - -set(GTEST_ROOT - ${SOFTS_BASE_PATH}/googletest/VS13 - CACHE INTERNAL "GTest root path") - -set(MPI_ROOT - ${SOFTS_BASE_PATH}/Intel/MPI/4.0.1.004-4.0.3.010/em64t - CACHE INTERNAL "Mpi root path") -set(MPI_BIN_FROM_ENV ON - CACHE INTERNAL "Mpi bin from env") - -set(BOOST_ROOT - ${SOFTS_BASE_PATH}/boost/1_62_0 - CACHE INTERNAL "Boost root path") - -set(MKL_ROOT - ${INTEL_COMPOSER_PATH}/mkl - CACHE INTERNAL "MKL root path") - -set(HDF5_ROOT - ${SOFTS_BASE_PATH}/hdf5/1.8.11 - CACHE INTERNAL "Hdf5 root path") - -set(EIGEN2_ROOT - ${SOFTS_BASE_PATH}/eigen2/install - CACHE INTERNAL "Eigen2 root path") - -set(EIGEN3_ROOT - ${SOFTS_BASE_PATH}/eigen3/eigen-3.3.1 - CACHE INTERNAL "Eigen3 root path") - -set(GLIB_ROOT - ${SOFTS_BASE_PATH}/GLib - CACHE INTERNAL "GLib root path") - -set(GEOMETRYKERNEL_VERSION 201507-3d2d-simple_corefinement_algorithm) - -set(GEOMETRYKERNEL_ROOT - ${SOFTS_BASE_PATH}/GeometryKernel/${GEOMETRYKERNEL_VERSION}/Windows/Seven/x86_64/$ENV{VSTUDIO_SHORT_NAME} - CACHE INTERNAL "GeometryKernel root path") - -# problème d'installation, on doit recopier ces libs -set(EXTRA_DLLS_TO_COPY - ${ARCGEOSIM_BASE_PATH}/Utils/Magic/libintl-8.dll - ${ARCGEOSIM_BASE_PATH}/Utils/Magic/intel12_extralibs/libifportmd.dll - ${ARCGEOSIM_BASE_PATH}/Utils/Magic/intel12_extralibs/libifcoremd.dll - ${ARCGEOSIM_BASE_PATH}/Utils/Magic/intel12_extralibs/libmmd.dll - ${ARCGEOSIM_BASE_PATH}/Utils/Magic/intel12_extralibs/svml_dispmd.dll - ${VS10_REDIST_PATH}/msvcp100.dll - ${VS10_REDIST_PATH}/msvcr100.dll - ${VS12_REDIST_PATH}/msvcp120.dll - ${VS12_REDIST_PATH}/msvcr120.dll - CACHE INTERNAL "Extra dlls") - -unset(SOFTS_BASE_PATH) -unset(INTEL_COMPOSER_PATH) -unset(FORTRAN_LIBRARY_PATH) -else() -# RELEASE -if(CMAKE_BUILD_TYPE STREQUAL "Release") - - set(ARCANE_ROOT - ${RESOLVED_ARCANE_PATH}/Windows/Seven/x86-64/ref-$ENV{VSTUDIO_SHORT_NAME}-IntelMpi4 - CACHE INTERNAL "Arcane root path") - -endif() - -# DEBUG -if(CMAKE_BUILD_TYPE STREQUAL "Debug") - - set(ARCANE_ROOT - ${RESOLVED_ARCANE_PATH}/Windows/Seven/x86-64/dbg-$ENV{VSTUDIO_SHORT_NAME}-IntelMpi4 - CACHE INTERNAL "Arcane root path") - -endif() - -############################# Other libraries ################################ - -set(GTEST_ROOT - ${SOFTS_BASE_PATH}/googletest/VS13 - CACHE INTERNAL "GTest root path") - -set(MPI_ROOT - ${SOFTS_BASE_PATH}/Intel/MPI/4.0.1.004-4.0.3.010/em64t - CACHE INTERNAL "Mpi root path") -set(MPI_BIN_FROM_ENV ON - CACHE INTERNAL "Mpi bin from env") - -set(BOOST_ROOT - ${SOFTS_BASE_PATH}/boost/1_62_0 - CACHE INTERNAL "Boost root path") - -set(MKL_ROOT - ${INTEL_COMPOSER_PATH}/mkl - CACHE INTERNAL "MKL root path") - -set(HDF5_ROOT - ${SOFTS_BASE_PATH}/hdf5/1.8.11 - CACHE INTERNAL "Hdf5 root path") - -set(HYPRE_ROOT - ${SOFTS_BASE_PATH}/hypre/2.9.0b/ref-mpi-IntelMPI4-Intel12 - CACHE INTERNAL "Hypre root path") - -set(PETSC_ROOT - ${SOFTS_BASE_PATH}/petsc/3.1-p3/ref-mpi-IntelMPI4-Intel12-Hypre2.9 - CACHE INTERNAL "PETSc root path") - -set(MTL_ROOT - ${SOFTS_BASE_PATH}/mtl4/install - CACHE INTERNAL "MTL root path") - -set(IFPSOLVER_ROOT - ${SOFTS_BASE_PATH}/IFPSolver/2017-a/ref-mpi-IntelMPI4-Intel12.1-hypre_2.10.1 - CACHE INTERNAL "IFPSolver root path") - -set(EIGEN2_ROOT - ${SOFTS_BASE_PATH}/eigen2/install - CACHE INTERNAL "Eigen2 root path") - -set(EIGEN3_ROOT - ${SOFTS_BASE_PATH}/eigen3/install - CACHE INTERNAL "Eigen3 root path") - -set(GLIB_ROOT - ${SOFTS_BASE_PATH}/GLib - CACHE INTERNAL "GLib root path") - -set(GEOMETRYKERNEL_VERSION 201507-3d2d-simple_corefinement_algorithm) - -set(GEOMETRYKERNEL_ROOT - ${SOFTS_BASE_PATH}/GeometryKernel/${GEOMETRYKERNEL_VERSION}/Windows/Seven/x86_64/$ENV{VSTUDIO_SHORT_NAME} - CACHE INTERNAL "GeometryKernel root path") - -# probleme d'installation, on doit recopier ces libs -set(EXTRA_DLLS_TO_COPY - ${ARCGEOSIM_BASE_PATH}/Utils/Magic/libintl-8.dll - ${ARCGEOSIM_BASE_PATH}/Utils/Magic/intel12_extralibs/libifportmd.dll - ${ARCGEOSIM_BASE_PATH}/Utils/Magic/intel12_extralibs/libifcoremd.dll - ${ARCGEOSIM_BASE_PATH}/Utils/Magic/intel12_extralibs/libmmd.dll - ${ARCGEOSIM_BASE_PATH}/Utils/Magic/intel12_extralibs/svml_dispmd.dll - ${VS10_REDIST_PATH}/msvcp100.dll - ${VS10_REDIST_PATH}/msvcr100.dll - ${VS12_REDIST_PATH}/msvcp120.dll - ${VS12_REDIST_PATH}/msvcr120.dll - CACHE INTERNAL "Extra dlls") - -unset(SOFTS_BASE_PATH) -unset(INTEL_COMPOSER_PATH) -unset(FORTRAN_LIBRARY_PATH) -endif() \ No newline at end of file diff --git a/common/ArcaneInfra/build-system/configs/IFP-Windows_6.1-AMD64.cmake b/common/ArcaneInfra/build-system/configs/IFP-Windows_6.1-AMD64.cmake deleted file mode 100644 index 3713ff2..0000000 --- a/common/ArcaneInfra/build-system/configs/IFP-Windows_6.1-AMD64.cmake +++ /dev/null @@ -1,223 +0,0 @@ -set(ARCGEOSIM_BASE_PATH //irfich3/R11-Group/Rt40_50_prj/D/D1653_Arcane/Public/Windows64) -set(SOFTS_BASE_PATH ${ARCGEOSIM_BASE_PATH}/Softs) -set(INTEL_COMPOSER_PATH "${SOFTS_BASE_PATH}/Intel/Composer XE 2011 SP1") - -############################# Arcane libraries ################################ - -set(ARCANE_BASE_PATH ${ARCGEOSIM_BASE_PATH}/Arcane) - -# Sous windows le suivi des liens de type "shortcut" n'est pas natif on utilise donc WindowsPathResolver -exec_program(${WINDOWS_PATH_RESOLVER_TOOL} - ARGS --cmake --directory ${ARCANE_BASE_PATH}/${ARCANE_VERSION} - OUTPUT_VARIABLE RESOLVED_ARCANE_PATH - RETURN_VALUE RESOLVED_ARCANE_RETURN) -if(NOT RESOLVED_ARCANE_RETURN STREQUAL "0") - message(FATAL_ERROR "An error occurs while resolving path '${ARCANE_BASE_PATH}/${ARCANE_VERSION}'") -else() - message(STATUS "Resolved Arcane Path is '${RESOLVED_ARCANE_PATH}'") -endif() - -if(NOT TARGET old_alien) -set(ALIEN_BASE_PATH ${ARCGEOSIM_BASE_PATH}/Alien) -set(ALIEN_VERSION 1.0 - CACHE INTERNAL "ALIEN VERSION") - -# Sous windows le suivi des liens de type "shortcut" n'est pas natif on utilise donc WindowsPathResolver -exec_program(${WINDOWS_PATH_RESOLVER_TOOL} - ARGS --cmake --directory ${ALIEN_BASE_PATH}/${ALIEN_VERSION} - OUTPUT_VARIABLE RESOLVED_ALIEN_PATH - RETURN_VALUE RESOLVED_ALIEN_RETURN) -if(NOT RESOLVED_ALIEN_RETURN STREQUAL "0") - message(FATAL_ERROR "An error occurs while resolving path '${ALIEN_BASE_PATH}/${ALIEN_VERSION}'") -else() - message(STATUS "Resolved Alien Path is '${RESOLVED_ALIEN_PATH}'") -endif() - -# RELEASE -if(CMAKE_BUILD_TYPE STREQUAL "Release") - - set(ARCANE_ROOT - ${RESOLVED_ARCANE_PATH}/Windows/Seven/x86-64/ref-$ENV{VSTUDIO_SHORT_NAME}-IntelMpi4 - CACHE INTERNAL "Arcane root path") - - set(ALIEN_ROOT - ${RESOLVED_ALIEN_PATH}/Windows/Seven/x86-64/ref-arcane-2.2.1-vs12-IntelMpi4 - CACHE INTERNAL "ALIEN root path") -endif() - -# DEBUG -if(CMAKE_BUILD_TYPE STREQUAL "Debug") - - set(ARCANE_ROOT - ${RESOLVED_ARCANE_PATH}/Windows/Seven/x86-64/dbg-$ENV{VSTUDIO_SHORT_NAME}-IntelMpi4 - CACHE INTERNAL "Arcane root path") - - set(ALIEN_ROOT - ${RESOLVED_ALIEN_PATH}/Windows/Seven/x86-64/dbg-arcane-2.2.1-vs12-IntelMpi4 - CACHE INTERNAL "ALIEN root path") - - message(STATUS "ALIEN_ROOT: ${ARCGEOSIM_BASE_PATH}/Alien/1.0/Windows/Seven/x86-64/dbg-arcane-2.2.1") -endif() - -############################# Other libraries ################################ - -set(GTEST_ROOT - ${SOFTS_BASE_PATH}/googletest/VS13 - CACHE INTERNAL "GTest root path") - -set(MPI_ROOT - ${SOFTS_BASE_PATH}/Intel/MPI/4.0.1.004-4.0.3.010/em64t - CACHE INTERNAL "Mpi root path") -set(MPI_BIN_FROM_ENV ON - CACHE INTERNAL "Mpi bin from env") - -set(BOOST_ROOT - ${SOFTS_BASE_PATH}/boost/1_62_0 - CACHE INTERNAL "Boost root path") - -set(MKL_ROOT - ${INTEL_COMPOSER_PATH}/mkl - CACHE INTERNAL "MKL root path") - -set(HDF5_ROOT - ${SOFTS_BASE_PATH}/hdf5/1.8.11 - CACHE INTERNAL "Hdf5 root path") - -set(LIBXML2_ROOT - ${SOFTS_BASE_PATH}/libxml2/libxml2-2.9.2 - CACHE INTERNAL "libxml2 root path") - -set(ICONV_ROOT - ${SOFTS_BASE_PATH}/libxml2/libiconv-1.14 - CACHE INTERNAL "libiconv root path") - -set(EIGEN2_ROOT - ${SOFTS_BASE_PATH}/eigen2/install - CACHE INTERNAL "Eigen2 root path") - -set(EIGEN3_ROOT - ${SOFTS_BASE_PATH}/eigen3/eigen-3.3.1 - CACHE INTERNAL "Eigen3 root path") - -set(GLIB_ROOT - ${SOFTS_BASE_PATH}/GLib - CACHE INTERNAL "GLib root path") - -set(GEOMETRYKERNEL_VERSION 201507-3d2d-simple_corefinement_algorithm) - -set(GEOMETRYKERNEL_ROOT - ${SOFTS_BASE_PATH}/GeometryKernel/${GEOMETRYKERNEL_VERSION}/Windows/Seven/x86_64/$ENV{VSTUDIO_SHORT_NAME} - CACHE INTERNAL "GeometryKernel root path") - - -set(CARNOT_ROOT - ${SOFTS_BASE_PATH}/Carnot/V3.1.7.3/VC12 - CACHE INTERNAL "Carnot root path") - - -set(GMSH_ROOT - ${SOFTS_BASE_PATH}/gmsh/4.1.4 - CACHE INTERNAL "GMSH root path") - -# problème d'installation, on doit recopier ces libs -set(EXTRA_DLLS_TO_COPY - ${ARCGEOSIM_BASE_PATH}/Utils/Magic/libintl-8.dll - ${ARCGEOSIM_BASE_PATH}/Utils/Magic/intel12_extralibs/libifportmd.dll - ${ARCGEOSIM_BASE_PATH}/Utils/Magic/intel12_extralibs/libifcoremd.dll - ${ARCGEOSIM_BASE_PATH}/Utils/Magic/intel12_extralibs/libmmd.dll - ${ARCGEOSIM_BASE_PATH}/Utils/Magic/intel12_extralibs/svml_dispmd.dll - CACHE INTERNAL "Extra dlls") - -unset(SOFTS_BASE_PATH) -unset(INTEL_COMPOSER_PATH) -unset(FORTRAN_LIBRARY_PATH) -else() -# RELEASE -if(CMAKE_BUILD_TYPE STREQUAL "Release") - - set(ARCANE_ROOT - ${RESOLVED_ARCANE_PATH}/Windows/Seven/x86-64/ref-$ENV{VSTUDIO_SHORT_NAME}-IntelMpi4 - CACHE INTERNAL "Arcane root path") - -endif() - -# DEBUG -if(CMAKE_BUILD_TYPE STREQUAL "Debug") - - set(ARCANE_ROOT - ${RESOLVED_ARCANE_PATH}/Windows/Seven/x86-64/dbg-$ENV{VSTUDIO_SHORT_NAME}-IntelMpi4 - CACHE INTERNAL "Arcane root path") - -endif() - -############################# Other libraries ################################ - -set(GTEST_ROOT - ${SOFTS_BASE_PATH}/googletest/VS13 - CACHE INTERNAL "GTest root path") - -set(MPI_ROOT - ${SOFTS_BASE_PATH}/Intel/MPI/4.0.1.004-4.0.3.010/em64t - CACHE INTERNAL "Mpi root path") -set(MPI_BIN_FROM_ENV ON - CACHE INTERNAL "Mpi bin from env") - -set(BOOST_ROOT - ${SOFTS_BASE_PATH}/boost/1_62_0 - CACHE INTERNAL "Boost root path") - -set(MKL_ROOT - ${INTEL_COMPOSER_PATH}/mkl - CACHE INTERNAL "MKL root path") - -set(HDF5_ROOT - ${SOFTS_BASE_PATH}/hdf5/1.8.11 - CACHE INTERNAL "Hdf5 root path") - -set(HYPRE_ROOT - ${SOFTS_BASE_PATH}/hypre/2.9.0b/ref-mpi-IntelMPI4-Intel12 - CACHE INTERNAL "Hypre root path") - -set(PETSC_ROOT - ${SOFTS_BASE_PATH}/petsc/3.1-p3/ref-mpi-IntelMPI4-Intel12-Hypre2.9 - CACHE INTERNAL "PETSc root path") - -set(MTL_ROOT - ${SOFTS_BASE_PATH}/mtl4/install - CACHE INTERNAL "MTL root path") - -set(IFPSOLVER_ROOT - ${SOFTS_BASE_PATH}/IFPSolver/2017-a/ref-mpi-IntelMPI4-Intel12.1-hypre_2.10.1 - CACHE INTERNAL "IFPSolver root path") - -set(EIGEN2_ROOT - ${SOFTS_BASE_PATH}/eigen2/install - CACHE INTERNAL "Eigen2 root path") - -set(EIGEN3_ROOT - ${SOFTS_BASE_PATH}/eigen3/install - CACHE INTERNAL "Eigen3 root path") - -set(GLIB_ROOT - ${SOFTS_BASE_PATH}/GLib - CACHE INTERNAL "GLib root path") - -set(GEOMETRYKERNEL_VERSION 201507-3d2d-simple_corefinement_algorithm) - -set(GEOMETRYKERNEL_ROOT - ${SOFTS_BASE_PATH}/GeometryKernel/${GEOMETRYKERNEL_VERSION}/Windows/Seven/x86_64/$ENV{VSTUDIO_SHORT_NAME} - CACHE INTERNAL "GeometryKernel root path") - -# probleme d'installation, on doit recopier ces libs -set(EXTRA_DLLS_TO_COPY - ${ARCGEOSIM_BASE_PATH}/Utils/Magic/libintl-8.dll - ${ARCGEOSIM_BASE_PATH}/Utils/Magic/intel12_extralibs/libifportmd.dll - ${ARCGEOSIM_BASE_PATH}/Utils/Magic/intel12_extralibs/libifcoremd.dll - ${ARCGEOSIM_BASE_PATH}/Utils/Magic/intel12_extralibs/libmmd.dll - ${ARCGEOSIM_BASE_PATH}/Utils/Magic/intel12_extralibs/svml_dispmd.dll - CACHE INTERNAL "Extra dlls") - -unset(SOFTS_BASE_PATH) -unset(INTEL_COMPOSER_PATH) -unset(FORTRAN_LIBRARY_PATH) -endif() \ No newline at end of file diff --git a/common/ArcaneInfra/build-system/configs/IFP-Windows_6.1-AMD64.vs15.cmake b/common/ArcaneInfra/build-system/configs/IFP-Windows_6.1-AMD64.vs15.cmake deleted file mode 100644 index 904a82b..0000000 --- a/common/ArcaneInfra/build-system/configs/IFP-Windows_6.1-AMD64.vs15.cmake +++ /dev/null @@ -1,217 +0,0 @@ -set(ARCGEOSIM_BASE_PATH //irfich3/R11-Group/Rt40_50_prj/D/D1653_Arcane/Public/Windows64) -set(SOFTS_BASE_PATH ${ARCGEOSIM_BASE_PATH}/Softs) -set(INTEL_COMPOSER_PATH "${SOFTS_BASE_PATH}/Intel/Composer XE 2011 SP1") -set(INTEL_SHARED_LIBS_PATH "C:/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/intel64/compiler") - -############################# Arcane libraries ################################ - -set(ARCANE_BASE_PATH ${ARCGEOSIM_BASE_PATH}/Arcane) - -# Sous windows le suivi des liens de type "shortcut" n'est pas natif on utilise donc WindowsPathResolver -exec_program(${WINDOWS_PATH_RESOLVER_TOOL} - ARGS --cmake --directory ${ARCANE_BASE_PATH}/${ARCANE_VERSION} - OUTPUT_VARIABLE RESOLVED_ARCANE_PATH - RETURN_VALUE RESOLVED_ARCANE_RETURN) -if(NOT RESOLVED_ARCANE_RETURN STREQUAL "0") - message(FATAL_ERROR "An error occurs while resolving path '${ARCANE_BASE_PATH}/${ARCANE_VERSION}'") -else() - message(STATUS "Resolved Arcane Path is '${RESOLVED_ARCANE_PATH}'") -endif() - -if(NOT TARGET old_alien) -set(ALIEN_BASE_PATH ${ARCGEOSIM_BASE_PATH}/Alien) -set(ALIEN_VERSION 1.1 - CACHE INTERNAL "ALIEN VERSION") - -# Sous windows le suivi des liens de type "shortcut" n'est pas natif on utilise donc WindowsPathResolver -exec_program(${WINDOWS_PATH_RESOLVER_TOOL} - ARGS --cmake --directory ${ALIEN_BASE_PATH}/${ALIEN_VERSION} - OUTPUT_VARIABLE RESOLVED_ALIEN_PATH - RETURN_VALUE RESOLVED_ALIEN_RETURN) -if(NOT RESOLVED_ALIEN_RETURN STREQUAL "0") - message(FATAL_ERROR "An error occurs while resolving path '${ALIEN_BASE_PATH}/${ALIEN_VERSION}'") -else() - message(STATUS "Resolved Alien Path is '${RESOLVED_ALIEN_PATH}'") -endif() - - -# RELEASE -if(CMAKE_BUILD_TYPE STREQUAL "Release") - - set(ARCANE_ROOT - ${RESOLVED_ARCANE_PATH}/Windows/Seven/x86-64/ref-$ENV{VSTUDIO_SHORT_NAME}-Intel2019.3 - CACHE INTERNAL "Arcane root path") - - set(ALIEN_ROOT - ${RESOLVED_ALIEN_PATH}/Windows/Seven/x86-64/ref-arcane-2.2.1-vs17-IntelMpi4 - CACHE INTERNAL "ALIEN root path") -endif() - -# DEBUG -if(CMAKE_BUILD_TYPE STREQUAL "Debug") - - set(ARCANE_ROOT - ${RESOLVED_ARCANE_PATH}/Windows/Seven/x86-64/dbg-$ENV{VSTUDIO_SHORT_NAME}-Intel2019.3 - CACHE INTERNAL "Arcane root path") - - set(ALIEN_ROOT - ${RESOLVED_ALIEN_PATH}/Windows/Seven/x86-64/dbg-arcane-2.2.1-vs17-IntelMpi4 - CACHE INTERNAL "ALIEN root path") - -endif() - -############################# Other libraries ################################ - -set(GTEST_ROOT - ${SOFTS_BASE_PATH}/googletest/1.8.0/VS15/Debug - CACHE INTERNAL "GTest root path") - -set(MPI_ROOT - "C:/Program Files (x86)/IntelSWTools/compilers_and_libraries/windows/mpi/intel64" - CACHE INTERNAL "Mpi root path") -set(MPI_BIN_FROM_ENV OFF - CACHE INTERNAL "Mpi bin from env") - -set(BOOST_ROOT - ${SOFTS_BASE_PATH}/boost/1_67_0-vs15 - CACHE INTERNAL "Boost root path") - -set(MKL_ROOT - "C:/Program Files (x86)/IntelSWTools/compilers_and_libraries/windows/mkl" - CACHE INTERNAL "MKL root path") - -set(HDF5_ROOT - ${SOFTS_BASE_PATH}/hdf5/1.8.20-vs15 - CACHE INTERNAL "Hdf5 root path") -set(H5BuiltAsDynamicLib ON - CACHE INTERNAL "Hdf5 as dll") - -set(LIBXML2_ROOT - ${SOFTS_BASE_PATH}/libxml2/libxml2-2.9.8-vs15 - CACHE INTERNAL "libxml2 root path") - -set(ICONV_ROOT - ${SOFTS_BASE_PATH}/libiconv-1.15-vs15 - CACHE INTERNAL "libiconv root path") - -#set(EIGEN2_ROOT -# ${SOFTS_BASE_PATH}/eigen2/install -# CACHE INTERNAL "Eigen2 root path") - -set(EIGEN3_ROOT - ${SOFTS_BASE_PATH}/eigen3/eigen-3.3.4 - CACHE INTERNAL "Eigen3 root path") - -set(GLIB_ROOT - ${SOFTS_BASE_PATH}/glib-2.54.3-vs15 - CACHE INTERNAL "GLib root path") - -set(GEOMETRYKERNEL_ROOT - ${SOFTS_BASE_PATH}/GeometryKernel/BasicGeometryKernel-release2013/GeometryKernel-vs15 - CACHE INTERNAL "GeometryKernel root path") - - -set(CARNOT_ROOT - ${SOFTS_BASE_PATH}/Carnot/V3.1.7.3/VC12 - CACHE INTERNAL "Carnot root path") - -# probleme d'installation, on doit recopier ces libs -set(EXTRA_DLLS_TO_COPY - ${INTEL_SHARED_LIBS_PATH}/libifportmd.dll - ${INTEL_SHARED_LIBS_PATH}/libifcoremd.dll - ${INTEL_SHARED_LIBS_PATH}/libmmd.dll - CACHE INTERNAL "Extra dlls") - -unset(SOFTS_BASE_PATH) -unset(INTEL_COMPOSER_PATH) -unset(FORTRAN_LIBRARY_PATH) -else() -# RELEASE -if(CMAKE_BUILD_TYPE STREQUAL "Release") - - set(ARCANE_ROOT - ${RESOLVED_ARCANE_PATH}/Windows/Seven/x86-64/ref-$ENV{VSTUDIO_SHORT_NAME}-IntelMpi4 - CACHE INTERNAL "Arcane root path") - -endif() - -# DEBUG -if(CMAKE_BUILD_TYPE STREQUAL "Debug") - - set(ARCANE_ROOT - ${RESOLVED_ARCANE_PATH}/Windows/Seven/x86-64/dbg-$ENV{VSTUDIO_SHORT_NAME}-IntelMpi4 - CACHE INTERNAL "Arcane root path") - -endif() - -############################# Other libraries ################################ - -set(GTEST_ROOT - ${SOFTS_BASE_PATH}/googletest/VS13 - CACHE INTERNAL "GTest root path") - -set(MPI_ROOT - ${SOFTS_BASE_PATH}/Intel/MPI/4.0.1.004-4.0.3.010/em64t - CACHE INTERNAL "Mpi root path") -set(MPI_BIN_FROM_ENV ON - CACHE INTERNAL "Mpi bin from env") - -set(BOOST_ROOT - ${SOFTS_BASE_PATH}/boost/1_62_0 - CACHE INTERNAL "Boost root path") - -set(MKL_ROOT - ${INTEL_COMPOSER_PATH}/mkl - CACHE INTERNAL "MKL root path") - -set(HDF5_ROOT - ${SOFTS_BASE_PATH}/hdf5/1.8.11 - CACHE INTERNAL "Hdf5 root path") - -set(HYPRE_ROOT - ${SOFTS_BASE_PATH}/hypre/2.9.0b/ref-mpi-IntelMPI4-Intel12 - CACHE INTERNAL "Hypre root path") - -set(PETSC_ROOT - ${SOFTS_BASE_PATH}/petsc/3.1-p3/ref-mpi-IntelMPI4-Intel12-Hypre2.9 - CACHE INTERNAL "PETSc root path") - -set(MTL_ROOT - ${SOFTS_BASE_PATH}/mtl4/install - CACHE INTERNAL "MTL root path") - -set(IFPSOLVER_ROOT - ${SOFTS_BASE_PATH}/IFPSolver/2017-a/ref-mpi-IntelMPI4-Intel12.1-hypre_2.10.1 - CACHE INTERNAL "IFPSolver root path") - -set(EIGEN2_ROOT - ${SOFTS_BASE_PATH}/eigen2/install - CACHE INTERNAL "Eigen2 root path") - -set(EIGEN3_ROOT - ${SOFTS_BASE_PATH}/eigen3/install - CACHE INTERNAL "Eigen3 root path") - -set(GLIB_ROOT - ${SOFTS_BASE_PATH}/GLib - CACHE INTERNAL "GLib root path") - -set(GEOMETRYKERNEL_VERSION 201507-3d2d-simple_corefinement_algorithm) - -set(GEOMETRYKERNEL_ROOT - ${SOFTS_BASE_PATH}/GeometryKernel/${GEOMETRYKERNEL_VERSION}/Windows/Seven/x86_64/$ENV{VSTUDIO_SHORT_NAME} - CACHE INTERNAL "GeometryKernel root path") - -# probleme d'installation, on doit recopier ces libs -set(EXTRA_DLLS_TO_COPY - ${ARCGEOSIM_BASE_PATH}/Utils/Magic/libintl-8.dll - ${ARCGEOSIM_BASE_PATH}/Utils/Magic/intel12_extralibs/libifportmd.dll - ${ARCGEOSIM_BASE_PATH}/Utils/Magic/intel12_extralibs/libifcoremd.dll - ${ARCGEOSIM_BASE_PATH}/Utils/Magic/intel12_extralibs/libmmd.dll - ${ARCGEOSIM_BASE_PATH}/Utils/Magic/intel12_extralibs/svml_dispmd.dll - CACHE INTERNAL "Extra dlls") - -unset(SOFTS_BASE_PATH) -unset(INTEL_COMPOSER_PATH) -unset(FORTRAN_LIBRARY_PATH) -endif() \ No newline at end of file diff --git a/common/ArcaneInfra/build-system/csharp/GumpCompiler/AllEntities.cs b/common/ArcaneInfra/build-system/csharp/GumpCompiler/AllEntities.cs deleted file mode 100644 index baa97a7..0000000 --- a/common/ArcaneInfra/build-system/csharp/GumpCompiler/AllEntities.cs +++ /dev/null @@ -1,302 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Mono Runtime Version: 4.0.30319.17020 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -namespace GumpCompiler { - using System; - - - public partial class AllEntities : AllEntitiesBase { - - public virtual string TransformText() { - this.GenerationEnvironment = null; - - #line 2 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/AllEntities.tt" - -var gump = this.Session["gump"] as gump; -var path = this.Session["path"] as string; - - - #line default - #line hidden - - #line 6 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/AllEntities.tt" - this.Write("// ------------------------------------------------------------------------------\n// \n// This code was generated by tool "); - - #line default - #line hidden - - #line 8 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/AllEntities.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( GumpCompiler.Version.Name )); - - #line default - #line hidden - - #line 8 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/AllEntities.tt" - this.Write(" v"); - - #line default - #line hidden - - #line 8 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/AllEntities.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( GumpCompiler.Version.Number )); - - #line default - #line hidden - - #line 8 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/AllEntities.tt" - this.Write(".\n// Changes to this file may cause incorrect behavior and will be lost if \n// the code is regenerated.\n// \n// ------------------------------------------------------------------------------\n#ifndef "); - - #line default - #line hidden - - #line 13 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/AllEntities.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( gump.model.@namespace.ToUpper() )); - - #line default - #line hidden - - #line 13 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/AllEntities.tt" - this.Write("_GENERATED_BY_GUMP_ALLENTITIES_H\n#define "); - - #line default - #line hidden - - #line 14 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/AllEntities.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( gump.model.@namespace.ToUpper() )); - - #line default - #line hidden - - #line 14 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/AllEntities.tt" - this.Write("_GENERATED_BY_GUMP_ALLENTITIES_H\n\n"); - - #line default - #line hidden - - #line 16 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/AllEntities.tt" - -foreach (var entity in gump.Entities()) { - - - #line default - #line hidden - - #line 19 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/AllEntities.tt" - this.Write("#include \""); - - #line default - #line hidden - - #line 19 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/AllEntities.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( path )); - - #line default - #line hidden - - #line 19 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/AllEntities.tt" - this.Write("/Entities/"); - - #line default - #line hidden - - #line 19 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/AllEntities.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( entity.name )); - - #line default - #line hidden - - #line 19 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/AllEntities.tt" - this.Write(".h\"\n"); - - #line default - #line hidden - - #line 20 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/AllEntities.tt" - -} - - - #line default - #line hidden - - #line 23 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/AllEntities.tt" - this.Write("\n#endif /* "); - - #line default - #line hidden - - #line 24 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/AllEntities.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( gump.model.@namespace.ToUpper() )); - - #line default - #line hidden - - #line 24 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/AllEntities.tt" - this.Write("_GENERATED_BY_GUMP_ALLENTITIES_H */\n\n"); - - #line default - #line hidden - return this.GenerationEnvironment.ToString(); - } - - protected virtual void Initialize() { - } - } - - public class AllEntitiesBase { - - private global::System.Text.StringBuilder builder; - - private global::System.Collections.Generic.IDictionary session; - - private global::System.CodeDom.Compiler.CompilerErrorCollection errors; - - private string currentIndent = string.Empty; - - private global::System.Collections.Generic.Stack indents; - - private ToStringInstanceHelper _toStringHelper = new ToStringInstanceHelper(); - - public virtual global::System.Collections.Generic.IDictionary Session { - get { - return this.session; - } - set { - this.session = value; - } - } - - public global::System.Text.StringBuilder GenerationEnvironment { - get { - if ((this.builder == null)) { - this.builder = new global::System.Text.StringBuilder(); - } - return this.builder; - } - set { - this.builder = value; - } - } - - protected global::System.CodeDom.Compiler.CompilerErrorCollection Errors { - get { - if ((this.errors == null)) { - this.errors = new global::System.CodeDom.Compiler.CompilerErrorCollection(); - } - return this.errors; - } - } - - public string CurrentIndent { - get { - return this.currentIndent; - } - } - - private global::System.Collections.Generic.Stack Indents { - get { - if ((this.indents == null)) { - this.indents = new global::System.Collections.Generic.Stack(); - } - return this.indents; - } - } - - public ToStringInstanceHelper ToStringHelper { - get { - return this._toStringHelper; - } - } - - public void Error(string message) { - this.Errors.Add(new global::System.CodeDom.Compiler.CompilerError(null, -1, -1, null, message)); - } - - public void Warning(string message) { - global::System.CodeDom.Compiler.CompilerError val = new global::System.CodeDom.Compiler.CompilerError(null, -1, -1, null, message); - val.IsWarning = true; - this.Errors.Add(val); - } - - public string PopIndent() { - if ((this.Indents.Count == 0)) { - return string.Empty; - } - int lastPos = (this.currentIndent.Length - this.Indents.Pop()); - string last = this.currentIndent.Substring(lastPos); - this.currentIndent = this.currentIndent.Substring(0, lastPos); - return last; - } - - public void PushIndent(string indent) { - this.Indents.Push(indent.Length); - this.currentIndent = (this.currentIndent + indent); - } - - public void ClearIndent() { - this.currentIndent = string.Empty; - this.Indents.Clear(); - } - - public void Write(string textToAppend) { - this.GenerationEnvironment.Append(textToAppend); - } - - public void Write(string format, params object[] args) { - this.GenerationEnvironment.AppendFormat(format, args); - } - - public void WriteLine(string textToAppend) { - this.GenerationEnvironment.Append(this.currentIndent); - this.GenerationEnvironment.AppendLine(textToAppend); - } - - public void WriteLine(string format, params object[] args) { - this.GenerationEnvironment.Append(this.currentIndent); - this.GenerationEnvironment.AppendFormat(format, args); - this.GenerationEnvironment.AppendLine(); - } - - public class ToStringInstanceHelper { - - private global::System.IFormatProvider formatProvider = global::System.Globalization.CultureInfo.InvariantCulture; - - public global::System.IFormatProvider FormatProvider { - get { - return this.formatProvider; - } - set { - if ((this.formatProvider == null)) { - throw new global::System.ArgumentNullException("formatProvider"); - } - this.formatProvider = value; - } - } - - public string ToStringWithCulture(object objectToConvert) { - if ((objectToConvert == null)) { - throw new global::System.ArgumentNullException("objectToConvert"); - } - global::System.Type type = objectToConvert.GetType(); - global::System.Type iConvertibleType = typeof(global::System.IConvertible); - if (iConvertibleType.IsAssignableFrom(type)) { - return ((global::System.IConvertible)(objectToConvert)).ToString(this.formatProvider); - } - global::System.Reflection.MethodInfo methInfo = type.GetMethod("ToString", new global::System.Type[] { - iConvertibleType}); - if ((methInfo != null)) { - return ((string)(methInfo.Invoke(objectToConvert, new object[] { - this.formatProvider}))); - } - return objectToConvert.ToString(); - } - } - } -} diff --git a/common/ArcaneInfra/build-system/csharp/GumpCompiler/AllEntitiesT4.tt b/common/ArcaneInfra/build-system/csharp/GumpCompiler/AllEntitiesT4.tt deleted file mode 100644 index 0fe95ec..0000000 --- a/common/ArcaneInfra/build-system/csharp/GumpCompiler/AllEntitiesT4.tt +++ /dev/null @@ -1,25 +0,0 @@ -<#@ template language="C#" #> -<# -var gump = this.Session["gump"] as gump; -var path = this.Session["path"] as string; -#> -// ------------------------------------------------------------------------------ -// -// This code was generated by tool <#= GumpCompiler.Version.Name #> v<#= GumpCompiler.Version.Number #>. -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ -#ifndef <#= gump.model.@namespace.ToUpper() #>_GENERATED_BY_GUMP_ALLENTITIES_H -#define <#= gump.model.@namespace.ToUpper() #>_GENERATED_BY_GUMP_ALLENTITIES_H - -<# -foreach (var entity in gump.Entities()) { -#> -#include "<#= path #>/Entities/<#= entity.name #>.h" -<# -} -#> - -#endif /* <#= gump.model.@namespace.ToUpper() #>_GENERATED_BY_GUMP_ALLENTITIES_H */ - diff --git a/common/ArcaneInfra/build-system/csharp/GumpCompiler/AllProperties.cs b/common/ArcaneInfra/build-system/csharp/GumpCompiler/AllProperties.cs deleted file mode 100644 index af34836..0000000 --- a/common/ArcaneInfra/build-system/csharp/GumpCompiler/AllProperties.cs +++ /dev/null @@ -1,302 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Mono Runtime Version: 4.0.30319.17020 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -namespace GumpCompiler { - using System; - - - public partial class AllProperties : AllPropertiesBase { - - public virtual string TransformText() { - this.GenerationEnvironment = null; - - #line 2 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/AllProperties.tt" - -var gump = this.Session["gump"] as gump; -var path = this.Session["path"] as string; - - - #line default - #line hidden - - #line 6 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/AllProperties.tt" - this.Write("// ------------------------------------------------------------------------------\n// \n// This code was generated by tool "); - - #line default - #line hidden - - #line 8 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/AllProperties.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( GumpCompiler.Version.Name )); - - #line default - #line hidden - - #line 8 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/AllProperties.tt" - this.Write(" v"); - - #line default - #line hidden - - #line 8 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/AllProperties.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( GumpCompiler.Version.Number )); - - #line default - #line hidden - - #line 8 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/AllProperties.tt" - this.Write(".\n// Changes to this file may cause incorrect behavior and will be lost if \n// the code is regenerated.\n// \n// ------------------------------------------------------------------------------\n#ifndef "); - - #line default - #line hidden - - #line 13 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/AllProperties.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( gump.model.@namespace.ToUpper() )); - - #line default - #line hidden - - #line 13 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/AllProperties.tt" - this.Write("_GENERATED_BY_GUMP_ALLPROPERTIES_H\n#define "); - - #line default - #line hidden - - #line 14 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/AllProperties.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( gump.model.@namespace.ToUpper() )); - - #line default - #line hidden - - #line 14 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/AllProperties.tt" - this.Write("_GENERATED_BY_GUMP_ALLPROPERTIES_H\n\n"); - - #line default - #line hidden - - #line 16 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/AllProperties.tt" - -foreach (var property in gump.Properties()) { - - - #line default - #line hidden - - #line 19 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/AllProperties.tt" - this.Write("#include \""); - - #line default - #line hidden - - #line 19 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/AllProperties.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( path )); - - #line default - #line hidden - - #line 19 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/AllProperties.tt" - this.Write("/Properties/"); - - #line default - #line hidden - - #line 19 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/AllProperties.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( property.name )); - - #line default - #line hidden - - #line 19 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/AllProperties.tt" - this.Write(".h\"\n"); - - #line default - #line hidden - - #line 20 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/AllProperties.tt" - -} - - - #line default - #line hidden - - #line 23 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/AllProperties.tt" - this.Write("\n#endif /* "); - - #line default - #line hidden - - #line 24 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/AllProperties.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( gump.model.@namespace.ToUpper() )); - - #line default - #line hidden - - #line 24 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/AllProperties.tt" - this.Write("_GENERATED_BY_GUMP_ALLPROPERTIES_H */\n\n"); - - #line default - #line hidden - return this.GenerationEnvironment.ToString(); - } - - protected virtual void Initialize() { - } - } - - public class AllPropertiesBase { - - private global::System.Text.StringBuilder builder; - - private global::System.Collections.Generic.IDictionary session; - - private global::System.CodeDom.Compiler.CompilerErrorCollection errors; - - private string currentIndent = string.Empty; - - private global::System.Collections.Generic.Stack indents; - - private ToStringInstanceHelper _toStringHelper = new ToStringInstanceHelper(); - - public virtual global::System.Collections.Generic.IDictionary Session { - get { - return this.session; - } - set { - this.session = value; - } - } - - public global::System.Text.StringBuilder GenerationEnvironment { - get { - if ((this.builder == null)) { - this.builder = new global::System.Text.StringBuilder(); - } - return this.builder; - } - set { - this.builder = value; - } - } - - protected global::System.CodeDom.Compiler.CompilerErrorCollection Errors { - get { - if ((this.errors == null)) { - this.errors = new global::System.CodeDom.Compiler.CompilerErrorCollection(); - } - return this.errors; - } - } - - public string CurrentIndent { - get { - return this.currentIndent; - } - } - - private global::System.Collections.Generic.Stack Indents { - get { - if ((this.indents == null)) { - this.indents = new global::System.Collections.Generic.Stack(); - } - return this.indents; - } - } - - public ToStringInstanceHelper ToStringHelper { - get { - return this._toStringHelper; - } - } - - public void Error(string message) { - this.Errors.Add(new global::System.CodeDom.Compiler.CompilerError(null, -1, -1, null, message)); - } - - public void Warning(string message) { - global::System.CodeDom.Compiler.CompilerError val = new global::System.CodeDom.Compiler.CompilerError(null, -1, -1, null, message); - val.IsWarning = true; - this.Errors.Add(val); - } - - public string PopIndent() { - if ((this.Indents.Count == 0)) { - return string.Empty; - } - int lastPos = (this.currentIndent.Length - this.Indents.Pop()); - string last = this.currentIndent.Substring(lastPos); - this.currentIndent = this.currentIndent.Substring(0, lastPos); - return last; - } - - public void PushIndent(string indent) { - this.Indents.Push(indent.Length); - this.currentIndent = (this.currentIndent + indent); - } - - public void ClearIndent() { - this.currentIndent = string.Empty; - this.Indents.Clear(); - } - - public void Write(string textToAppend) { - this.GenerationEnvironment.Append(textToAppend); - } - - public void Write(string format, params object[] args) { - this.GenerationEnvironment.AppendFormat(format, args); - } - - public void WriteLine(string textToAppend) { - this.GenerationEnvironment.Append(this.currentIndent); - this.GenerationEnvironment.AppendLine(textToAppend); - } - - public void WriteLine(string format, params object[] args) { - this.GenerationEnvironment.Append(this.currentIndent); - this.GenerationEnvironment.AppendFormat(format, args); - this.GenerationEnvironment.AppendLine(); - } - - public class ToStringInstanceHelper { - - private global::System.IFormatProvider formatProvider = global::System.Globalization.CultureInfo.InvariantCulture; - - public global::System.IFormatProvider FormatProvider { - get { - return this.formatProvider; - } - set { - if ((this.formatProvider == null)) { - throw new global::System.ArgumentNullException("formatProvider"); - } - this.formatProvider = value; - } - } - - public string ToStringWithCulture(object objectToConvert) { - if ((objectToConvert == null)) { - throw new global::System.ArgumentNullException("objectToConvert"); - } - global::System.Type type = objectToConvert.GetType(); - global::System.Type iConvertibleType = typeof(global::System.IConvertible); - if (iConvertibleType.IsAssignableFrom(type)) { - return ((global::System.IConvertible)(objectToConvert)).ToString(this.formatProvider); - } - global::System.Reflection.MethodInfo methInfo = type.GetMethod("ToString", new global::System.Type[] { - iConvertibleType}); - if ((methInfo != null)) { - return ((string)(methInfo.Invoke(objectToConvert, new object[] { - this.formatProvider}))); - } - return objectToConvert.ToString(); - } - } - } -} diff --git a/common/ArcaneInfra/build-system/csharp/GumpCompiler/AllPropertiesT4.tt b/common/ArcaneInfra/build-system/csharp/GumpCompiler/AllPropertiesT4.tt deleted file mode 100644 index 77a9e2f..0000000 --- a/common/ArcaneInfra/build-system/csharp/GumpCompiler/AllPropertiesT4.tt +++ /dev/null @@ -1,25 +0,0 @@ -<#@ template language="C#" #> -<# -var gump = this.Session["gump"] as gump; -var path = this.Session["path"] as string; -#> -// ------------------------------------------------------------------------------ -// -// This code was generated by tool <#= GumpCompiler.Version.Name #> v<#= GumpCompiler.Version.Number #>. -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ -#ifndef <#= gump.model.@namespace.ToUpper() #>_GENERATED_BY_GUMP_ALLPROPERTIES_H -#define <#= gump.model.@namespace.ToUpper() #>_GENERATED_BY_GUMP_ALLPROPERTIES_H - -<# -foreach (var property in gump.Properties()) { -#> -#include "<#= path #>/Properties/<#= property.name #>.h" -<# -} -#> - -#endif /* <#= gump.model.@namespace.ToUpper() #>_GENERATED_BY_GUMP_ALLPROPERTIES_H */ - diff --git a/common/ArcaneInfra/build-system/csharp/GumpCompiler/AssemblyInfo.cs b/common/ArcaneInfra/build-system/csharp/GumpCompiler/AssemblyInfo.cs deleted file mode 100644 index 550eab7..0000000 --- a/common/ArcaneInfra/build-system/csharp/GumpCompiler/AssemblyInfo.cs +++ /dev/null @@ -1,27 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; - -// Information about this assembly is defined by the following attributes. -// Change them to the values specific to your project. - -[assembly: AssemblyTitle("GumpCompiler")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("")] -[assembly: AssemblyCopyright("desrozis")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// The assembly version has the format "{Major}.{Minor}.{Build}.{Revision}". -// The form "{Major}.{Minor}.*" will automatically update the build and revision, -// and "{Major}.{Minor}.{Build}.*" will update just the revision. - -[assembly: AssemblyVersion("1.0.*")] - -// The following attributes are used to specify the signing key for the assembly, -// if desired. See the Mono documentation for more information about signing. - -//[assembly: AssemblyDelaySign(false)] -//[assembly: AssemblyKeyFile("")] - diff --git a/common/ArcaneInfra/build-system/csharp/GumpCompiler/BaseEntity.cs b/common/ArcaneInfra/build-system/csharp/GumpCompiler/BaseEntity.cs deleted file mode 100644 index bcd509e..0000000 --- a/common/ArcaneInfra/build-system/csharp/GumpCompiler/BaseEntity.cs +++ /dev/null @@ -1,1287 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Mono Runtime Version: 4.0.30319.17020 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -namespace GumpCompiler { - using System.Linq; - using System; - - - public partial class BaseEntity : BaseEntityBase { - - public virtual string TransformText() { - this.GenerationEnvironment = null; - - #line 3 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - -var gump = this.Session["gump"] as gump; -var path = this.Session["path"] as string; -var entity = this.Session["entity"] as Entity; -var uniques = entity.UniqueEntities(gump); -var multiples = entity.MultipleEntities(gump); -var nested = entity.NestedBaseEntities(gump).Except(uniques).Except(multiples); - - - #line default - #line hidden - - #line 11 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write("// ------------------------------------------------------------------------------\n// \n// This code was generated by tool "); - - #line default - #line hidden - - #line 13 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( GumpCompiler.Version.Name )); - - #line default - #line hidden - - #line 13 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write(" v"); - - #line default - #line hidden - - #line 13 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( GumpCompiler.Version.Number )); - - #line default - #line hidden - - #line 13 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write(".\n// Changes to this file may cause incorrect behavior and will be lost if \n// the code is regenerated.\n// \n// ------------------------------------------------------------------------------\n#ifndef "); - - #line default - #line hidden - - #line 18 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( gump.model.@namespace.ToUpper() )); - - #line default - #line hidden - - #line 18 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write("_GENERATED_BY_GUMP_"); - - #line default - #line hidden - - #line 18 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( entity.name.ToUpper() )); - - #line default - #line hidden - - #line 18 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write("_H\n#define "); - - #line default - #line hidden - - #line 19 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( gump.model.@namespace.ToUpper() )); - - #line default - #line hidden - - #line 19 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write("_GENERATED_BY_GUMP_"); - - #line default - #line hidden - - #line 19 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( entity.name.ToUpper() )); - - #line default - #line hidden - - #line 19 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write("_H\n\n#include \"ArcGeoSim/Gump/Entity.h\"\n#include \"ArcGeoSim/Gump/Enumerator.h\"\n"); - - #line default - #line hidden - - #line 23 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - -foreach(var e in entity.AllEntities(gump)) { - - - #line default - #line hidden - - #line 26 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write("#include \""); - - #line default - #line hidden - - #line 26 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( path )); - - #line default - #line hidden - - #line 26 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write("/Entities/"); - - #line default - #line hidden - - #line 26 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( e.name )); - - #line default - #line hidden - - #line 26 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write(".h\"\n"); - - #line default - #line hidden - - #line 27 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - - foreach(var ee in e.ChildEntities(gump)) { - - - #line default - #line hidden - - #line 30 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write("#include \""); - - #line default - #line hidden - - #line 30 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( path )); - - #line default - #line hidden - - #line 30 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write("/Entities/"); - - #line default - #line hidden - - #line 30 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( ee.name )); - - #line default - #line hidden - - #line 30 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write(".h\"\n"); - - #line default - #line hidden - - #line 31 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - - } -} - - - #line default - #line hidden - - #line 35 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write("#include \""); - - #line default - #line hidden - - #line 35 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( path )); - - #line default - #line hidden - - #line 35 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write("/Entities/EntityKind.h\"\n#include \""); - - #line default - #line hidden - - #line 36 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( path )); - - #line default - #line hidden - - #line 36 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write("/Entities/EntityTag.h\"\n\nnamespace "); - - #line default - #line hidden - - #line 38 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( gump.model.@namespace )); - - #line default - #line hidden - - #line 38 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write(" {\n\n class "); - - #line default - #line hidden - - #line 40 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( entity.name )); - - #line default - #line hidden - - #line 40 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write(" : public Gump::Entity\n {\n public:\n \n "); - - #line default - #line hidden - - #line 44 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( entity.name )); - - #line default - #line hidden - - #line 44 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write("() {}\n \n "); - - #line default - #line hidden - - #line 46 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( entity.name )); - - #line default - #line hidden - - #line 46 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write("("); - - #line default - #line hidden - - #line 46 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( entity.name )); - - #line default - #line hidden - - #line 46 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write("&& e)\n : Gump::Entity(e) {}\n \n explicit "); - - #line default - #line hidden - - #line 49 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( entity.name )); - - #line default - #line hidden - - #line 49 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write("(const "); - - #line default - #line hidden - - #line 49 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( entity.name )); - - #line default - #line hidden - - #line 49 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write("& e)\n : Gump::Entity(e) {}\n \n explicit "); - - #line default - #line hidden - - #line 52 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( entity.name )); - - #line default - #line hidden - - #line 52 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write("(Gump::Private::Entity* e)\n : Gump::Entity(e)\n {\n ARCANE_ASSERT((e->kind() == "); - - #line default - #line hidden - - #line 55 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( entity.Kind () )); - - #line default - #line hidden - - #line 55 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write("), (\"entity kind error\"));\n }\n \n explicit "); - - #line default - #line hidden - - #line 58 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( entity.name )); - - #line default - #line hidden - - #line 58 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write("(const Gump::Entity& e)\n : Gump::Entity(e)\n {\n ARCANE_ASSERT((e.kind() == "); - - #line default - #line hidden - - #line 61 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( entity.Kind () )); - - #line default - #line hidden - - #line 61 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write("), (\"entity kind error\"));\n }\n \n\t"); - - #line default - #line hidden - - #line 64 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( entity.name )); - - #line default - #line hidden - - #line 64 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write("& operator=(const "); - - #line default - #line hidden - - #line 64 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( entity.name )); - - #line default - #line hidden - - #line 64 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write("& e)\n\t{\n m_private = e.m_private;\n return *this;\n\t}\n\n"); - - #line default - #line hidden - - #line 70 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - -int i = 0; -foreach (var e in uniques) { - - - #line default - #line hidden - - #line 74 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write(" "); - - #line default - #line hidden - - #line 74 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( e.name )); - - #line default - #line hidden - - #line 74 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write(" "); - - #line default - #line hidden - - #line 74 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( e.Object() )); - - #line default - #line hidden - - #line 74 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write("() const {\n return "); - - #line default - #line hidden - - #line 75 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( e.name )); - - #line default - #line hidden - - #line 75 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write("(m_private->entity("); - - #line default - #line hidden - - #line 75 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( i++ )); - - #line default - #line hidden - - #line 75 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write(", "); - - #line default - #line hidden - - #line 75 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( e.Kind () )); - - #line default - #line hidden - - #line 75 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write(")); \n }\n\n"); - - #line default - #line hidden - - #line 78 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - -} -foreach (var e in multiples.Where(ee => ee.@base == null)) { - - - #line default - #line hidden - - #line 82 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write(" Gump::EnumeratorT<"); - - #line default - #line hidden - - #line 82 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( e.name )); - - #line default - #line hidden - - #line 82 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write("> "); - - #line default - #line hidden - - #line 82 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( e.Enumerator() )); - - #line default - #line hidden - - #line 82 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write("() const { \n return m_private->entities("); - - #line default - #line hidden - - #line 83 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( e.Kind () )); - - #line default - #line hidden - - #line 83 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write("); \n }\n Arcane::Integer numberOf"); - - #line default - #line hidden - - #line 85 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( e.Multiple() )); - - #line default - #line hidden - - #line 85 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write("() const { \n return m_private->numberOf("); - - #line default - #line hidden - - #line 86 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( e.Kind () )); - - #line default - #line hidden - - #line 86 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write("); \n }\n "); - - #line default - #line hidden - - #line 88 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( e.name )); - - #line default - #line hidden - - #line 88 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write(" "); - - #line default - #line hidden - - #line 88 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( e.Object() )); - - #line default - #line hidden - - #line 88 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write("(Arcane::Integer i) const { \n return "); - - #line default - #line hidden - - #line 89 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( e.name )); - - #line default - #line hidden - - #line 89 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write("(m_private->entity(i, "); - - #line default - #line hidden - - #line 89 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( e.Kind () )); - - #line default - #line hidden - - #line 89 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write(")); \n }\n "); - - #line default - #line hidden - - #line 91 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( e.name )); - - #line default - #line hidden - - #line 91 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write(" "); - - #line default - #line hidden - - #line 91 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( e.Object() )); - - #line default - #line hidden - - #line 91 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write("(Arcane::String name) const { \n return "); - - #line default - #line hidden - - #line 92 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( e.name )); - - #line default - #line hidden - - #line 92 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write("(m_private->entity(name, "); - - #line default - #line hidden - - #line 92 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( e.Kind () )); - - #line default - #line hidden - - #line 92 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write(")); \n }\n\n"); - - #line default - #line hidden - - #line 95 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - -} -foreach (var e in multiples.Where(ee => ee.@base != null)) { - - - #line default - #line hidden - - #line 99 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write(" Gump::EnumeratorT<"); - - #line default - #line hidden - - #line 99 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( e.name )); - - #line default - #line hidden - - #line 99 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write("> "); - - #line default - #line hidden - - #line 99 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( e.Enumerator () )); - - #line default - #line hidden - - #line 99 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write("() const { \n return m_private->entities("); - - #line default - #line hidden - - #line 100 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( e.Kind () )); - - #line default - #line hidden - - #line 100 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write(", "); - - #line default - #line hidden - - #line 100 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( e.Tag () )); - - #line default - #line hidden - - #line 100 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write("); \n }\n Arcane::Integer numberOf"); - - #line default - #line hidden - - #line 102 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( e.Multiple () )); - - #line default - #line hidden - - #line 102 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write("() const { \n return m_private->numberOf("); - - #line default - #line hidden - - #line 103 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( e.Kind () )); - - #line default - #line hidden - - #line 103 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write(", "); - - #line default - #line hidden - - #line 103 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( e.Tag () )); - - #line default - #line hidden - - #line 103 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write("); \n }\n \n"); - - #line default - #line hidden - - #line 106 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - -} -foreach (var e in nested.Where(ee => ee.@base == null)) { - - - #line default - #line hidden - - #line 110 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write(" Gump::EnumeratorT<"); - - #line default - #line hidden - - #line 110 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( e.name )); - - #line default - #line hidden - - #line 110 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write("> "); - - #line default - #line hidden - - #line 110 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( e.Enumerator() )); - - #line default - #line hidden - - #line 110 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write("() const { \n return m_private->entities("); - - #line default - #line hidden - - #line 111 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( e.Kind () )); - - #line default - #line hidden - - #line 111 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write("); \n }\n Arcane::Integer numberOf"); - - #line default - #line hidden - - #line 113 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( e.Multiple() )); - - #line default - #line hidden - - #line 113 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write("() const { \n return m_private->numberOf("); - - #line default - #line hidden - - #line 114 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( e.Kind () )); - - #line default - #line hidden - - #line 114 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write("); \n }\n "); - - #line default - #line hidden - - #line 116 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( e.name )); - - #line default - #line hidden - - #line 116 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write(" "); - - #line default - #line hidden - - #line 116 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( e.Object() )); - - #line default - #line hidden - - #line 116 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write("(Arcane::Integer i) const { \n return "); - - #line default - #line hidden - - #line 117 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( e.name )); - - #line default - #line hidden - - #line 117 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write("(m_private->entity(i, "); - - #line default - #line hidden - - #line 117 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( e.Kind () )); - - #line default - #line hidden - - #line 117 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write(")); \n }\n "); - - #line default - #line hidden - - #line 119 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( e.name )); - - #line default - #line hidden - - #line 119 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write(" "); - - #line default - #line hidden - - #line 119 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( e.Object() )); - - #line default - #line hidden - - #line 119 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write("(Arcane::String name) const { \n return "); - - #line default - #line hidden - - #line 120 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( e.name )); - - #line default - #line hidden - - #line 120 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write("(m_private->entity(name, "); - - #line default - #line hidden - - #line 120 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( e.Kind () )); - - #line default - #line hidden - - #line 120 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write(")); \n }\n\n"); - - #line default - #line hidden - - #line 123 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - -} -foreach (var e in nested.Where(ee => ee.@base != null)) { - - - #line default - #line hidden - - #line 127 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write(" Gump::EnumeratorT<"); - - #line default - #line hidden - - #line 127 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( e.name )); - - #line default - #line hidden - - #line 127 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write("> "); - - #line default - #line hidden - - #line 127 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( e.Enumerator () )); - - #line default - #line hidden - - #line 127 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write("() const { \n return m_private->entities("); - - #line default - #line hidden - - #line 128 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( e.Kind () )); - - #line default - #line hidden - - #line 128 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write(", "); - - #line default - #line hidden - - #line 128 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( e.Tag () )); - - #line default - #line hidden - - #line 128 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write("); \n }\n Arcane::Integer numberOf"); - - #line default - #line hidden - - #line 130 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( e.Multiple () )); - - #line default - #line hidden - - #line 130 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write("() const { \n return m_private->numberOf("); - - #line default - #line hidden - - #line 131 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( e.Kind () )); - - #line default - #line hidden - - #line 131 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write(", "); - - #line default - #line hidden - - #line 131 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( e.Tag () )); - - #line default - #line hidden - - #line 131 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write("); \n }\n \n"); - - #line default - #line hidden - - #line 134 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - -} - - - #line default - #line hidden - - #line 137 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write(" const "); - - #line default - #line hidden - - #line 137 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( entity.name )); - - #line default - #line hidden - - #line 137 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write("* operator->() const { return this; }\n "); - - #line default - #line hidden - - #line 138 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( entity.name )); - - #line default - #line hidden - - #line 138 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write("* operator->() { return this; }\n };\n\n#define ENUMERATE_"); - - #line default - #line hidden - - #line 141 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( entity.name.ToUpper() )); - - #line default - #line hidden - - #line 141 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write("(e,enumerator) \\\n for(Gump::EnumeratorT<"); - - #line default - #line hidden - - #line 142 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( gump.model.@namespace )); - - #line default - #line hidden - - #line 142 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write("::"); - - #line default - #line hidden - - #line 142 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( entity.name )); - - #line default - #line hidden - - #line 142 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write("> e = enumerator; \\\n e.hasNext(); ++e)\n\n#define ENUMERATE_SOME_"); - - #line default - #line hidden - - #line 145 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( entity.name.ToUpper() )); - - #line default - #line hidden - - #line 145 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write("(e,enumerator,predicat) \\\n for(Gump::EnumeratorT<"); - - #line default - #line hidden - - #line 146 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( gump.model.@namespace )); - - #line default - #line hidden - - #line 146 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write("::"); - - #line default - #line hidden - - #line 146 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( entity.name )); - - #line default - #line hidden - - #line 146 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write("> e = enumerator; \\\n e.hasNext(); ++e) if(not predicat) continue; else \n \n}\n\n#endif /* "); - - #line default - #line hidden - - #line 151 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( gump.model.@namespace.ToUpper() )); - - #line default - #line hidden - - #line 151 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write("_GENERATED_BY_GUMP_"); - - #line default - #line hidden - - #line 151 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( entity.name.ToUpper() )); - - #line default - #line hidden - - #line 151 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntity.tt" - this.Write("_H */\n"); - - #line default - #line hidden - return this.GenerationEnvironment.ToString(); - } - - protected virtual void Initialize() { - } - } - - public class BaseEntityBase { - - private global::System.Text.StringBuilder builder; - - private global::System.Collections.Generic.IDictionary session; - - private global::System.CodeDom.Compiler.CompilerErrorCollection errors; - - private string currentIndent = string.Empty; - - private global::System.Collections.Generic.Stack indents; - - private ToStringInstanceHelper _toStringHelper = new ToStringInstanceHelper(); - - public virtual global::System.Collections.Generic.IDictionary Session { - get { - return this.session; - } - set { - this.session = value; - } - } - - public global::System.Text.StringBuilder GenerationEnvironment { - get { - if ((this.builder == null)) { - this.builder = new global::System.Text.StringBuilder(); - } - return this.builder; - } - set { - this.builder = value; - } - } - - protected global::System.CodeDom.Compiler.CompilerErrorCollection Errors { - get { - if ((this.errors == null)) { - this.errors = new global::System.CodeDom.Compiler.CompilerErrorCollection(); - } - return this.errors; - } - } - - public string CurrentIndent { - get { - return this.currentIndent; - } - } - - private global::System.Collections.Generic.Stack Indents { - get { - if ((this.indents == null)) { - this.indents = new global::System.Collections.Generic.Stack(); - } - return this.indents; - } - } - - public ToStringInstanceHelper ToStringHelper { - get { - return this._toStringHelper; - } - } - - public void Error(string message) { - this.Errors.Add(new global::System.CodeDom.Compiler.CompilerError(null, -1, -1, null, message)); - } - - public void Warning(string message) { - global::System.CodeDom.Compiler.CompilerError val = new global::System.CodeDom.Compiler.CompilerError(null, -1, -1, null, message); - val.IsWarning = true; - this.Errors.Add(val); - } - - public string PopIndent() { - if ((this.Indents.Count == 0)) { - return string.Empty; - } - int lastPos = (this.currentIndent.Length - this.Indents.Pop()); - string last = this.currentIndent.Substring(lastPos); - this.currentIndent = this.currentIndent.Substring(0, lastPos); - return last; - } - - public void PushIndent(string indent) { - this.Indents.Push(indent.Length); - this.currentIndent = (this.currentIndent + indent); - } - - public void ClearIndent() { - this.currentIndent = string.Empty; - this.Indents.Clear(); - } - - public void Write(string textToAppend) { - this.GenerationEnvironment.Append(textToAppend); - } - - public void Write(string format, params object[] args) { - this.GenerationEnvironment.AppendFormat(format, args); - } - - public void WriteLine(string textToAppend) { - this.GenerationEnvironment.Append(this.currentIndent); - this.GenerationEnvironment.AppendLine(textToAppend); - } - - public void WriteLine(string format, params object[] args) { - this.GenerationEnvironment.Append(this.currentIndent); - this.GenerationEnvironment.AppendFormat(format, args); - this.GenerationEnvironment.AppendLine(); - } - - public class ToStringInstanceHelper { - - private global::System.IFormatProvider formatProvider = global::System.Globalization.CultureInfo.InvariantCulture; - - public global::System.IFormatProvider FormatProvider { - get { - return this.formatProvider; - } - set { - if ((this.formatProvider == null)) { - throw new global::System.ArgumentNullException("formatProvider"); - } - this.formatProvider = value; - } - } - - public string ToStringWithCulture(object objectToConvert) { - if ((objectToConvert == null)) { - throw new global::System.ArgumentNullException("objectToConvert"); - } - global::System.Type type = objectToConvert.GetType(); - global::System.Type iConvertibleType = typeof(global::System.IConvertible); - if (iConvertibleType.IsAssignableFrom(type)) { - return ((global::System.IConvertible)(objectToConvert)).ToString(this.formatProvider); - } - global::System.Reflection.MethodInfo methInfo = type.GetMethod("ToString", new global::System.Type[] { - iConvertibleType}); - if ((methInfo != null)) { - return ((string)(methInfo.Invoke(objectToConvert, new object[] { - this.formatProvider}))); - } - return objectToConvert.ToString(); - } - } - } -} diff --git a/common/ArcaneInfra/build-system/csharp/GumpCompiler/BaseEntityBuilder.cs b/common/ArcaneInfra/build-system/csharp/GumpCompiler/BaseEntityBuilder.cs deleted file mode 100644 index 9c5ca2a..0000000 --- a/common/ArcaneInfra/build-system/csharp/GumpCompiler/BaseEntityBuilder.cs +++ /dev/null @@ -1,527 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Mono Runtime Version: 4.0.30319.17020 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -namespace GumpCompiler { - using System; - - - public partial class BaseEntityBuilder : BaseEntityBuilderBase { - - public virtual string TransformText() { - this.GenerationEnvironment = null; - - #line 2 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntityBuilder.tt" - -var gump = this.Session["gump"] as gump; -var path = this.Session["path"] as string; -var entity = this.Session["entity"] as Entity; - - - #line default - #line hidden - - #line 7 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntityBuilder.tt" - this.Write("// ------------------------------------------------------------------------------\n// \n// This code was generated by tool "); - - #line default - #line hidden - - #line 9 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntityBuilder.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( GumpCompiler.Version.Name )); - - #line default - #line hidden - - #line 9 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntityBuilder.tt" - this.Write(" v"); - - #line default - #line hidden - - #line 9 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntityBuilder.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( GumpCompiler.Version.Number )); - - #line default - #line hidden - - #line 9 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntityBuilder.tt" - this.Write(".\n// Changes to this file may cause incorrect behavior and will be lost if \n// the code is regenerated.\n// \n// ------------------------------------------------------------------------------\n#ifndef "); - - #line default - #line hidden - - #line 14 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntityBuilder.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( gump.model.@namespace.ToUpper() )); - - #line default - #line hidden - - #line 14 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntityBuilder.tt" - this.Write("_GENERATED_BY_GUMP_"); - - #line default - #line hidden - - #line 14 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntityBuilder.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( entity.name.ToUpper() )); - - #line default - #line hidden - - #line 14 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntityBuilder.tt" - this.Write("BUILDER_H\n#define "); - - #line default - #line hidden - - #line 15 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntityBuilder.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( gump.model.@namespace.ToUpper() )); - - #line default - #line hidden - - #line 15 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntityBuilder.tt" - this.Write("_GENERATED_BY_GUMP_"); - - #line default - #line hidden - - #line 15 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntityBuilder.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( entity.name.ToUpper() )); - - #line default - #line hidden - - #line 15 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntityBuilder.tt" - this.Write("BUILDER_H\n\n#include \"ArcGeoSim/Gump/Builder.h\"\n\n"); - - #line default - #line hidden - - #line 19 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntityBuilder.tt" - -foreach(var e in entity.AllEntities(gump)) { - - - #line default - #line hidden - - #line 22 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntityBuilder.tt" - this.Write("#include \""); - - #line default - #line hidden - - #line 22 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntityBuilder.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( path )); - - #line default - #line hidden - - #line 22 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntityBuilder.tt" - this.Write("/Builders/"); - - #line default - #line hidden - - #line 22 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntityBuilder.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( e.name )); - - #line default - #line hidden - - #line 22 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntityBuilder.tt" - this.Write("Builder.h\"\n"); - - #line default - #line hidden - - #line 23 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntityBuilder.tt" - -} - - - #line default - #line hidden - - #line 26 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntityBuilder.tt" - this.Write("\n#include \""); - - #line default - #line hidden - - #line 27 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntityBuilder.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( path )); - - #line default - #line hidden - - #line 27 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntityBuilder.tt" - this.Write("/Entities/EntityKind.h\"\n#include \""); - - #line default - #line hidden - - #line 28 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntityBuilder.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( path )); - - #line default - #line hidden - - #line 28 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntityBuilder.tt" - this.Write("/Entities/EntityTag.h\"\n#include \""); - - #line default - #line hidden - - #line 29 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntityBuilder.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( path )); - - #line default - #line hidden - - #line 29 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntityBuilder.tt" - this.Write("/Properties/PropertyKind.h\"\n\nnamespace "); - - #line default - #line hidden - - #line 31 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntityBuilder.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( gump.model.@namespace )); - - #line default - #line hidden - - #line 31 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntityBuilder.tt" - this.Write(" {\n\n struct "); - - #line default - #line hidden - - #line 33 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntityBuilder.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( entity.name )); - - #line default - #line hidden - - #line 33 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntityBuilder.tt" - this.Write("Builder : public Gump::Builder\n {\n \t"); - - #line default - #line hidden - - #line 35 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntityBuilder.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( entity.name )); - - #line default - #line hidden - - #line 35 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntityBuilder.tt" - this.Write("Builder() {}\n \t\n "); - - #line default - #line hidden - - #line 37 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntityBuilder.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( entity.name )); - - #line default - #line hidden - - #line 37 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntityBuilder.tt" - this.Write("Builder(const Gump::Builder& builder)\n : Gump::Builder(builder)\n {\n"); - - #line default - #line hidden - - #line 40 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntityBuilder.tt" - -foreach(var property in entity.supports) { - - - #line default - #line hidden - - #line 43 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntityBuilder.tt" - this.Write(" push(\""); - - #line default - #line hidden - - #line 43 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntityBuilder.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( property.name )); - - #line default - #line hidden - - #line 43 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntityBuilder.tt" - this.Write("\", "); - - #line default - #line hidden - - #line 43 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntityBuilder.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( property.Kind () )); - - #line default - #line hidden - - #line 43 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntityBuilder.tt" - this.Write(");\n"); - - #line default - #line hidden - - #line 44 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntityBuilder.tt" - -} - - - #line default - #line hidden - - #line 47 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntityBuilder.tt" - this.Write(" }\n\n"); - - #line default - #line hidden - - #line 49 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntityBuilder.tt" - -foreach (var e in entity.MultipleEntities(gump)) { - - - #line default - #line hidden - - #line 52 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntityBuilder.tt" - this.Write(" "); - - #line default - #line hidden - - #line 52 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntityBuilder.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( entity.name )); - - #line default - #line hidden - - #line 52 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntityBuilder.tt" - this.Write("Builder& operator<<(const "); - - #line default - #line hidden - - #line 52 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntityBuilder.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( e.name )); - - #line default - #line hidden - - #line 52 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntityBuilder.tt" - this.Write("Builder& builder) \n {\n push(builder);\n return *this;\n }\n"); - - #line default - #line hidden - - #line 57 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntityBuilder.tt" - -} - - - #line default - #line hidden - - #line 60 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntityBuilder.tt" - this.Write(" };\n\n}\n\n#endif /* "); - - #line default - #line hidden - - #line 64 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntityBuilder.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( gump.model.@namespace.ToUpper() )); - - #line default - #line hidden - - #line 64 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntityBuilder.tt" - this.Write("_GENERATED_BY_GUMP_"); - - #line default - #line hidden - - #line 64 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntityBuilder.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( entity.name.ToUpper() )); - - #line default - #line hidden - - #line 64 "/work/IRLIN276_1/desrozis/IFPEN/working/ArcaneDemo-Gump/common/ArcaneInfra/tools/ArcaneInfra.Tools/GumpCompiler/BaseEntityBuilder.tt" - this.Write("BUILDER_H */\n"); - - #line default - #line hidden - return this.GenerationEnvironment.ToString(); - } - - protected virtual void Initialize() { - } - } - - public class BaseEntityBuilderBase { - - private global::System.Text.StringBuilder builder; - - private global::System.Collections.Generic.IDictionary session; - - private global::System.CodeDom.Compiler.CompilerErrorCollection errors; - - private string currentIndent = string.Empty; - - private global::System.Collections.Generic.Stack indents; - - private ToStringInstanceHelper _toStringHelper = new ToStringInstanceHelper(); - - public virtual global::System.Collections.Generic.IDictionary Session { - get { - return this.session; - } - set { - this.session = value; - } - } - - public global::System.Text.StringBuilder GenerationEnvironment { - get { - if ((this.builder == null)) { - this.builder = new global::System.Text.StringBuilder(); - } - return this.builder; - } - set { - this.builder = value; - } - } - - protected global::System.CodeDom.Compiler.CompilerErrorCollection Errors { - get { - if ((this.errors == null)) { - this.errors = new global::System.CodeDom.Compiler.CompilerErrorCollection(); - } - return this.errors; - } - } - - public string CurrentIndent { - get { - return this.currentIndent; - } - } - - private global::System.Collections.Generic.Stack Indents { - get { - if ((this.indents == null)) { - this.indents = new global::System.Collections.Generic.Stack(); - } - return this.indents; - } - } - - public ToStringInstanceHelper ToStringHelper { - get { - return this._toStringHelper; - } - } - - public void Error(string message) { - this.Errors.Add(new global::System.CodeDom.Compiler.CompilerError(null, -1, -1, null, message)); - } - - public void Warning(string message) { - global::System.CodeDom.Compiler.CompilerError val = new global::System.CodeDom.Compiler.CompilerError(null, -1, -1, null, message); - val.IsWarning = true; - this.Errors.Add(val); - } - - public string PopIndent() { - if ((this.Indents.Count == 0)) { - return string.Empty; - } - int lastPos = (this.currentIndent.Length - this.Indents.Pop()); - string last = this.currentIndent.Substring(lastPos); - this.currentIndent = this.currentIndent.Substring(0, lastPos); - return last; - } - - public void PushIndent(string indent) { - this.Indents.Push(indent.Length); - this.currentIndent = (this.currentIndent + indent); - } - - public void ClearIndent() { - this.currentIndent = string.Empty; - this.Indents.Clear(); - } - - public void Write(string textToAppend) { - this.GenerationEnvironment.Append(textToAppend); - } - - public void Write(string format, params object[] args) { - this.GenerationEnvironment.AppendFormat(format, args); - } - - public void WriteLine(string textToAppend) { - this.GenerationEnvironment.Append(this.currentIndent); - this.GenerationEnvironment.AppendLine(textToAppend); - } - - public void WriteLine(string format, params object[] args) { - this.GenerationEnvironment.Append(this.currentIndent); - this.GenerationEnvironment.AppendFormat(format, args); - this.GenerationEnvironment.AppendLine(); - } - - public class ToStringInstanceHelper { - - private global::System.IFormatProvider formatProvider = global::System.Globalization.CultureInfo.InvariantCulture; - - public global::System.IFormatProvider FormatProvider { - get { - return this.formatProvider; - } - set { - if ((this.formatProvider == null)) { - throw new global::System.ArgumentNullException("formatProvider"); - } - this.formatProvider = value; - } - } - - public string ToStringWithCulture(object objectToConvert) { - if ((objectToConvert == null)) { - throw new global::System.ArgumentNullException("objectToConvert"); - } - global::System.Type type = objectToConvert.GetType(); - global::System.Type iConvertibleType = typeof(global::System.IConvertible); - if (iConvertibleType.IsAssignableFrom(type)) { - return ((global::System.IConvertible)(objectToConvert)).ToString(this.formatProvider); - } - global::System.Reflection.MethodInfo methInfo = type.GetMethod("ToString", new global::System.Type[] { - iConvertibleType}); - if ((methInfo != null)) { - return ((string)(methInfo.Invoke(objectToConvert, new object[] { - this.formatProvider}))); - } - return objectToConvert.ToString(); - } - } - } -} diff --git a/common/ArcaneInfra/build-system/csharp/GumpCompiler/BaseEntityBuilderT4.cs b/common/ArcaneInfra/build-system/csharp/GumpCompiler/BaseEntityBuilderT4.cs deleted file mode 100644 index e3ada29..0000000 --- a/common/ArcaneInfra/build-system/csharp/GumpCompiler/BaseEntityBuilderT4.cs +++ /dev/null @@ -1,551 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Mono Runtime Version: 4.0.30319.17020 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -namespace GumpCompiler { - using System; - - - public partial class BaseEntityBuilderT4 : BaseEntityBuilderT4Base { - - public virtual string TransformText() { - this.GenerationEnvironment = null; - - #line 2 "/work/IRLIN276_1/desrozis/projects/Geoxim-unstable-ArcGeoSim/common-svn/ArcaneInfra/BuildSystem/csharp/GumpCompiler/BaseEntityBuilderT4.tt" - -var gump = this.Session["gump"] as gump; -var path = this.Session["path"] as string; -var entity = this.Session["entity"] as Entity; - - - #line default - #line hidden - - #line 7 "/work/IRLIN276_1/desrozis/projects/Geoxim-unstable-ArcGeoSim/common-svn/ArcaneInfra/BuildSystem/csharp/GumpCompiler/BaseEntityBuilderT4.tt" - this.Write("// ------------------------------------------------------------------------------\n// \n// This code was generated by tool "); - - #line default - #line hidden - - #line 9 "/work/IRLIN276_1/desrozis/projects/Geoxim-unstable-ArcGeoSim/common-svn/ArcaneInfra/BuildSystem/csharp/GumpCompiler/BaseEntityBuilderT4.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( GumpCompiler.Version.Name )); - - #line default - #line hidden - - #line 9 "/work/IRLIN276_1/desrozis/projects/Geoxim-unstable-ArcGeoSim/common-svn/ArcaneInfra/BuildSystem/csharp/GumpCompiler/BaseEntityBuilderT4.tt" - this.Write(" v"); - - #line default - #line hidden - - #line 9 "/work/IRLIN276_1/desrozis/projects/Geoxim-unstable-ArcGeoSim/common-svn/ArcaneInfra/BuildSystem/csharp/GumpCompiler/BaseEntityBuilderT4.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( GumpCompiler.Version.Number )); - - #line default - #line hidden - - #line 9 "/work/IRLIN276_1/desrozis/projects/Geoxim-unstable-ArcGeoSim/common-svn/ArcaneInfra/BuildSystem/csharp/GumpCompiler/BaseEntityBuilderT4.tt" - this.Write(".\n// Changes to this file may cause incorrect behavior and will be lost if \n// the code is regenerated.\n// \n// ------------------------------------------------------------------------------\n#ifndef "); - - #line default - #line hidden - - #line 14 "/work/IRLIN276_1/desrozis/projects/Geoxim-unstable-ArcGeoSim/common-svn/ArcaneInfra/BuildSystem/csharp/GumpCompiler/BaseEntityBuilderT4.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( gump.model.@namespace.ToUpper() )); - - #line default - #line hidden - - #line 14 "/work/IRLIN276_1/desrozis/projects/Geoxim-unstable-ArcGeoSim/common-svn/ArcaneInfra/BuildSystem/csharp/GumpCompiler/BaseEntityBuilderT4.tt" - this.Write("_GENERATED_BY_GUMP_"); - - #line default - #line hidden - - #line 14 "/work/IRLIN276_1/desrozis/projects/Geoxim-unstable-ArcGeoSim/common-svn/ArcaneInfra/BuildSystem/csharp/GumpCompiler/BaseEntityBuilderT4.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( entity.name.ToUpper() )); - - #line default - #line hidden - - #line 14 "/work/IRLIN276_1/desrozis/projects/Geoxim-unstable-ArcGeoSim/common-svn/ArcaneInfra/BuildSystem/csharp/GumpCompiler/BaseEntityBuilderT4.tt" - this.Write("BUILDER_H\n#define "); - - #line default - #line hidden - - #line 15 "/work/IRLIN276_1/desrozis/projects/Geoxim-unstable-ArcGeoSim/common-svn/ArcaneInfra/BuildSystem/csharp/GumpCompiler/BaseEntityBuilderT4.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( gump.model.@namespace.ToUpper() )); - - #line default - #line hidden - - #line 15 "/work/IRLIN276_1/desrozis/projects/Geoxim-unstable-ArcGeoSim/common-svn/ArcaneInfra/BuildSystem/csharp/GumpCompiler/BaseEntityBuilderT4.tt" - this.Write("_GENERATED_BY_GUMP_"); - - #line default - #line hidden - - #line 15 "/work/IRLIN276_1/desrozis/projects/Geoxim-unstable-ArcGeoSim/common-svn/ArcaneInfra/BuildSystem/csharp/GumpCompiler/BaseEntityBuilderT4.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( entity.name.ToUpper() )); - - #line default - #line hidden - - #line 15 "/work/IRLIN276_1/desrozis/projects/Geoxim-unstable-ArcGeoSim/common-svn/ArcaneInfra/BuildSystem/csharp/GumpCompiler/BaseEntityBuilderT4.tt" - this.Write("BUILDER_H\n\n#include \"ArcGeoSim/Physics/Gump/Builder.h\"\n\n"); - - #line default - #line hidden - - #line 19 "/work/IRLIN276_1/desrozis/projects/Geoxim-unstable-ArcGeoSim/common-svn/ArcaneInfra/BuildSystem/csharp/GumpCompiler/BaseEntityBuilderT4.tt" - -foreach(var e in entity.AllEntities(gump)) { - - - #line default - #line hidden - - #line 22 "/work/IRLIN276_1/desrozis/projects/Geoxim-unstable-ArcGeoSim/common-svn/ArcaneInfra/BuildSystem/csharp/GumpCompiler/BaseEntityBuilderT4.tt" - this.Write("#include \""); - - #line default - #line hidden - - #line 22 "/work/IRLIN276_1/desrozis/projects/Geoxim-unstable-ArcGeoSim/common-svn/ArcaneInfra/BuildSystem/csharp/GumpCompiler/BaseEntityBuilderT4.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( path )); - - #line default - #line hidden - - #line 22 "/work/IRLIN276_1/desrozis/projects/Geoxim-unstable-ArcGeoSim/common-svn/ArcaneInfra/BuildSystem/csharp/GumpCompiler/BaseEntityBuilderT4.tt" - this.Write("/Builders/"); - - #line default - #line hidden - - #line 22 "/work/IRLIN276_1/desrozis/projects/Geoxim-unstable-ArcGeoSim/common-svn/ArcaneInfra/BuildSystem/csharp/GumpCompiler/BaseEntityBuilderT4.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( e.name )); - - #line default - #line hidden - - #line 22 "/work/IRLIN276_1/desrozis/projects/Geoxim-unstable-ArcGeoSim/common-svn/ArcaneInfra/BuildSystem/csharp/GumpCompiler/BaseEntityBuilderT4.tt" - this.Write("Builder.h\"\n"); - - #line default - #line hidden - - #line 23 "/work/IRLIN276_1/desrozis/projects/Geoxim-unstable-ArcGeoSim/common-svn/ArcaneInfra/BuildSystem/csharp/GumpCompiler/BaseEntityBuilderT4.tt" - -} - - - #line default - #line hidden - - #line 26 "/work/IRLIN276_1/desrozis/projects/Geoxim-unstable-ArcGeoSim/common-svn/ArcaneInfra/BuildSystem/csharp/GumpCompiler/BaseEntityBuilderT4.tt" - this.Write("\n#include \""); - - #line default - #line hidden - - #line 27 "/work/IRLIN276_1/desrozis/projects/Geoxim-unstable-ArcGeoSim/common-svn/ArcaneInfra/BuildSystem/csharp/GumpCompiler/BaseEntityBuilderT4.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( path )); - - #line default - #line hidden - - #line 27 "/work/IRLIN276_1/desrozis/projects/Geoxim-unstable-ArcGeoSim/common-svn/ArcaneInfra/BuildSystem/csharp/GumpCompiler/BaseEntityBuilderT4.tt" - this.Write("/Entities/EntityKind.h\"\n#include \""); - - #line default - #line hidden - - #line 28 "/work/IRLIN276_1/desrozis/projects/Geoxim-unstable-ArcGeoSim/common-svn/ArcaneInfra/BuildSystem/csharp/GumpCompiler/BaseEntityBuilderT4.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( path )); - - #line default - #line hidden - - #line 28 "/work/IRLIN276_1/desrozis/projects/Geoxim-unstable-ArcGeoSim/common-svn/ArcaneInfra/BuildSystem/csharp/GumpCompiler/BaseEntityBuilderT4.tt" - this.Write("/Entities/EntityTag.h\"\n#include \""); - - #line default - #line hidden - - #line 29 "/work/IRLIN276_1/desrozis/projects/Geoxim-unstable-ArcGeoSim/common-svn/ArcaneInfra/BuildSystem/csharp/GumpCompiler/BaseEntityBuilderT4.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( path )); - - #line default - #line hidden - - #line 29 "/work/IRLIN276_1/desrozis/projects/Geoxim-unstable-ArcGeoSim/common-svn/ArcaneInfra/BuildSystem/csharp/GumpCompiler/BaseEntityBuilderT4.tt" - this.Write("/Properties/PropertyKind.h\"\n\nnamespace "); - - #line default - #line hidden - - #line 31 "/work/IRLIN276_1/desrozis/projects/Geoxim-unstable-ArcGeoSim/common-svn/ArcaneInfra/BuildSystem/csharp/GumpCompiler/BaseEntityBuilderT4.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( gump.model.@namespace )); - - #line default - #line hidden - - #line 31 "/work/IRLIN276_1/desrozis/projects/Geoxim-unstable-ArcGeoSim/common-svn/ArcaneInfra/BuildSystem/csharp/GumpCompiler/BaseEntityBuilderT4.tt" - this.Write(" {\n\n struct "); - - #line default - #line hidden - - #line 33 "/work/IRLIN276_1/desrozis/projects/Geoxim-unstable-ArcGeoSim/common-svn/ArcaneInfra/BuildSystem/csharp/GumpCompiler/BaseEntityBuilderT4.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( entity.name )); - - #line default - #line hidden - - #line 33 "/work/IRLIN276_1/desrozis/projects/Geoxim-unstable-ArcGeoSim/common-svn/ArcaneInfra/BuildSystem/csharp/GumpCompiler/BaseEntityBuilderT4.tt" - this.Write("Builder : public Gump::Builder\n {\n \t"); - - #line default - #line hidden - - #line 35 "/work/IRLIN276_1/desrozis/projects/Geoxim-unstable-ArcGeoSim/common-svn/ArcaneInfra/BuildSystem/csharp/GumpCompiler/BaseEntityBuilderT4.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( entity.name )); - - #line default - #line hidden - - #line 35 "/work/IRLIN276_1/desrozis/projects/Geoxim-unstable-ArcGeoSim/common-svn/ArcaneInfra/BuildSystem/csharp/GumpCompiler/BaseEntityBuilderT4.tt" - this.Write("Builder() {}\n \t\n "); - - #line default - #line hidden - - #line 37 "/work/IRLIN276_1/desrozis/projects/Geoxim-unstable-ArcGeoSim/common-svn/ArcaneInfra/BuildSystem/csharp/GumpCompiler/BaseEntityBuilderT4.tt" - this.Write(this.ToStringHelper.ToStringWithCulture( entity.name )); - - #line default - #line hidden - - #line 37 "/work/IRLIN276_1/desrozis/projects/Geoxim-unstable-ArcGeoSim/common-svn/ArcaneInfra/BuildSystem/csharp/GumpCompiler/BaseEntityBuilderT4.tt" - this.Write("Builder(const Gump::Builder& builder)\n : Gump::Builder(builder)\n {\n"); - - #line default - #line hidden - - #line 40 "/work/IRLIN276_1/desrozis/projects/Geoxim-unstable-ArcGeoSim/common-svn/ArcaneInfra/BuildSystem/csharp/GumpCompiler/BaseEntityBuilderT4.tt" - -foreach(var p in entity.supports) { - - - #line default - #line hidden - - #line 43 "/work/IRLIN276_1/desrozis/projects/Geoxim-unstable-ArcGeoSim/common-svn/ArcaneInfra/BuildSystem/csharp/GumpCompiler/BaseEntityBuilderT4.tt" - this.Write(" push