package DMM version v0 use OpenScientist v16r0 Interfaces #////////////////////////////////////////////////// #////////////////////////////////////////////////// #////////////////////////////////////////////////// branches run applications build_strategy no_prototypes include_path none include_dirs ${DMMROOT} ${DMMROOT}/../../Resources/boost-1_34 #//////////////////////////////////////////////////////////// #/// From Interfaces/Platform /////////////////////////////// #//////////////////////////////////////////////////////////// macro Platform_bin "${CMTCONFIG}" #set PLATFORMBIN "${Platform_bin}" pattern Platform_paths \ path_remove LD_LIBRARY_PATH "$(ROOT)/$(Platform_bin)" WIN32 "" Darwin "" ;\ path_append LD_LIBRARY_PATH "$(ROOT)/$(Platform_bin)" WIN32 "" Darwin "" ;\ path_remove DYLD_LIBRARY_PATH "" Darwin "$(ROOT)/$(Platform_bin)" ;\ path_append DYLD_LIBRARY_PATH "" Darwin "$(ROOT)/$(Platform_bin)" ;\ path_remove PATH "$(ROOT)/$(Platform_bin)" WIN32 "$(ROOT)\$(Platform_bin)" ;\ path_append PATH "$(ROOT)/$(Platform_bin)" WIN32 "$(ROOT)\$(Platform_bin)" # Darwin : to build dlls properly : macro make_shlib "$(make_shlib)" Darwin "$(DMMROOT)/cmt/cmt_make_shlib_common.sh extract" #////////////////////////////////////////////////// #////////////////////////////////////////////////// #////////////////////////////////////////////////// macro DMM_cppflags "-I${OSC_home}/Resources/Slash" library DMMCore *.cxx macro DMMCore_linkopts "-L${DMMROOT}/${Platform_bin} -lDMMCore" application test -group=debug ../applications/test.cxx use_linkopts='"${DMMCore_linkopts}"' application test1 -group=Boost ../applications/test1.cxx application test2 -group=Boost ../applications/test2.cxx #////////////////////////////////////////////////// #////////////////////////////////////////////////// #////////////////////////////////////////////////// private macro build_library_links "true" WIN32 "" macro remove_library_links "true" WIN32 "" # WIN32 : /GR to enable RTTI and dynamic cast. # WIN32 : /GX to enable exception handling (for STL). macro_append cppflags "" WIN32 " /GX /GR" # DEBUG : #macro_append cflags " -g" WIN32 " /ZI /Od" #macro_append cppflags " -g" WIN32 " /ZI /Od" #macro_append cpplinkflags " -g" WIN32 " /DEBUG" # OPTIMIZE : macro_append cflags " -O" WIN32 " /O2" macro_append cppflags " -O" WIN32 " /O2" macro_append cpplinkflags " -O" WIN32 "" public #////////////////////////////////////////////////// #// Run time ////////////////////////////////////// #////////////////////////////////////////////////// apply_pattern Platform_paths