Changes between Version 5 and Version 6 of Compiling
- Timestamp:
- 09/12/13 15:37:24 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Compiling
v5 v6 8 8 MUSCLE automatically includes these in the class path when running. To add your own dependencies, modify the classpath of MUSCLE by adding the following lines to the configuration files 9 9 {{{ 10 m = Muscle.LAST 11 m.add_classpath "path/to/dependency1.jar" 12 m.add_classpath "path/to/dependency2.jar" 10 add_classpath "path/to/dependency1.jar" 11 add_classpath "path/to/dependency2.jar" 13 12 }}} 14 13 … … 17 16 The INCLUDE_PATH for C and C++ should include {{{$MUSCLE_HOME/include}}} and the executables should be linked with the {{{$MUSCLE_HOME/lib/libmuscle2.so}}} or {{{$MUSCLE_HOME/lib/libmuscle2.dylib}}} library (depending on the operating system). To add any other libraries to the dynamic library path, modify the configuration file as follows: 18 17 {{{ 19 m = Muscle.LAST 20 m.add_libpath "path/to/dependency1/lib" 21 m.add_libpath "path/to/dependency2/lib" 18 add_libpath "path/to/dependency1/lib" 19 add_libpath "path/to/dependency2/lib" 22 20 }}} 23 21