# Fortran options
#SET(CMAKE_Fortran_FLAGS "-ffixed-line-length-0 -fdefault-double-8 -fdefault-real-8 -fdefault-integer-8 -fimplicit-none")
-SET(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -fpp -i8")
+SET(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -fpp -i8 -ffixed-line-length-0 -fdefault-double-8 -fdefault-real-8 -fdefault-integer-8 /iface:mixed_str_len_arg ")
# static libraries to build
SET(_HT_libs
ADD_DEFINITIONS(-Dextern_stdcall)
ADD_DEFINITIONS(-D_DEBUG_HOMARD_)
ADD_DEFINITIONS(-D_USE_64_BITS)
+ #ADD_DEFINITIONS(-DPPRO_NT)
+
ENDIF (WIN32)
FUNCTION(HT_BUILD_LIBRARY dir)
INCLUDE_DIRECTORIES(Includes_Generaux ${CMAKE_CURRENT_SOURCE_DIR})
ADD_LIBRARY (${dir}_f_lib STATIC ${_f_sources})
set_target_properties(${dir}_f_lib PROPERTIES LINKER_LANGUAGE Fortran)
- set_target_properties(${dir}_f_lib PROPERTIES COMPILE_FLAGS "-i8" )
+ set_target_properties(${dir}_f_lib PROPERTIES COMPILE_FLAGS " /c-ffixed-line-length-0 -fdefault-double-8 -fdefault-real-8 -fdefault-integer-8 -fpp -i8 /iface:mixed_str_len_arg " )
SET(TARGET_OBJECTS_LIST $<TARGET_OBJECTS:${dir}_f_lib> )
ENDIF()
IF (_c_sources)
# Main executable
ADD_EXECUTABLE(homard homard.f)
+set_target_properties(homard PROPERTIES COMPILE_FLAGS " /c-ffixed-line-length-0 -fdefault-double-8 -fdefault-real-8 -fdefault-integer-8 -fpp -i8 /iface:mixed_str_len_arg " )
+
TARGET_LINK_LIBRARIES(homard ${_HT_libs} ${_link_LIBRARIES})
INSTALL(TARGETS homard EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_BINS})
void dmmacc_( char *nodeno, INTGR *nodelg, char *machno, INTGR *machlg, char *systno, INTGR *systlg, char *releno, INTGR *relelg, char *versno, INTGR *verslg, LNSTRF nodebi, LNSTRF machbi, LNSTRF systbi, LNSTRF relebi, LNSTRF versbi )
#else
#ifdef extern_stdcall
-extern void __stdcall DMMACC( char *nodeno, INTGR *nodelg, char *machno, INTGR *machlg, char *systno, INTGR *systlg, char *releno, INTGR *relelg, char *versno, INTGR *verslg, LNSTRF nodebi, LNSTRF machbi, LNSTRF systbi, LNSTRF relebi, LNSTRF versbi )
+extern void __stdcall DMMACC( char *nodeno, LNSTRF nodebi, INTGR *nodelg, char *machno, LNSTRF machbi, INTGR *machlg, char *systno, LNSTRF systbi, INTGR *systlg, char *releno, LNSTRF relebi, INTGR *relelg, char *versno, LNSTRF versbi, INTGR *verslg )
#else
void FortranCInterface_GLOBAL(dmmacc, DMMACC)(char *nodeno, INTGR *nodelg, char *machno, INTGR *machlg, char *systno, INTGR *systlg, char *releno, INTGR *relelg, char *versno, INTGR *verslg)
#endif