From 0e53a593db165da7030f10b838482a1e2d40a957 Mon Sep 17 00:00:00 2001 From: jriegel Date: Mon, 18 Aug 2014 22:42:23 +0200 Subject: [PATCH] cleaning up CMake file and some comments --- src/3rdParty/salomesmesh/CMakeLists.txt | 16 ++-------------- src/3rdParty/salomesmesh/src/MEFISTO2/trte.c | 15 +++++++++++++++ 2 files changed, 17 insertions(+), 14 deletions(-) diff --git a/src/3rdParty/salomesmesh/CMakeLists.txt b/src/3rdParty/salomesmesh/CMakeLists.txt index e150f63386f2..6389cee29bd3 100644 --- a/src/3rdParty/salomesmesh/CMakeLists.txt +++ b/src/3rdParty/salomesmesh/CMakeLists.txt @@ -287,24 +287,12 @@ if (MSVC) # ) #ENDIF(CMAKE_SIZEOF_VOID_P EQUAL 8) - set(MEFISTO2_SMESH_source_files + set(MEFISTO2_source_files src/MEFISTO2/aptrte.cpp src/MEFISTO2/trte.c - src/MEFISTO2/f2clib_part.c inc/Rn.h inc/aptrte.h - ) - FILE(GLOB MEFISTO2_f2clib_source_files - #src/MEFISTO2/f2clib/*.c - #src/MEFISTO2/f2clib/*.h - ) - set(MEFISTO2_source_files - ${MEFISTO2_SMESH_source_files} - ${MEFISTO2_f2clib_source_files} - ) -SOURCE_GROUP("f2cLib" FILES ${MEFISTO2_f2clib_source_files}) - - + ) else(MSVC) FILE(GLOB MEFISTO2_source_files diff --git a/src/3rdParty/salomesmesh/src/MEFISTO2/trte.c b/src/3rdParty/salomesmesh/src/MEFISTO2/trte.c index fdfb168e1c45..4edfb65e93b5 100644 --- a/src/3rdParty/salomesmesh/src/MEFISTO2/trte.c +++ b/src/3rdParty/salomesmesh/src/MEFISTO2/trte.c @@ -10,6 +10,21 @@ http://www.netlib.org/f2c/libf2c.zip */ +/* + Since Mefisto is using very little real fortran API calls only the definition + portion of the f2c header is used and the fortran write() calls are commented out: + + //io___187.ciunit = unites_2.imprim; + //s_wsle(&io___187); + //do_lio(&c__9, &c__1, "pas de triangle d'abscisse minimale", (ftnlen) + // 35); + //e_wsle(); + +This calls print out error information and are not needed in FreeCAD.... + +JR 2014 +*/ + // start F2c.h content typedef long int integer; typedef unsigned long int uinteger;