Для работы с XML в C++ предлагается использовать http://www.firstobject.com/dn_markup.htm . Ниже приведен пример конфигурационного xml файла для fcore
<!DOCTYPE fcoreConfig> <fcoreConfig isForcePath="1" frundPath="/Development/VSTU/linuxdev/_Debug"> <shellCommands name="intel" path="%FRUND%/Compiler/Intel/Bin/ia32;%FRUND%/Compiler/VC/Bin" lib="%FRUND%/Compiler/Intel/Lib/ia32;%FRUND%/Compiler/VC/Lib;%FRUND%/Lib" lic="%FRUND%/Compiler/Intel" inc="%FRUND%/Compiler/VC/include" > <linker command="xilink" keys="/OUT:solver.exe /DEFAULTLIB:fsolvelib_i.lib fthrow.lib LIBCMT.LIB *.obj" keysDll="/OUT:solver.dll /DLL /IMPLIB:solver.lib /DEFAULTLIB:fsolvelib_i.lib fthrow.lib LIBCMT.LIB /EXPORT:BUILD_TABLES /EXPORT:UNBUILD_TABLES /EXPORT:SOLVE1 /EXPORT:SOLVE2 /EXPORT:SOLVE3 /EXPORT:SOLVE4 /EXPORT:SOLVE5 /EXPORT:STARTUP /EXPORT:DROP /EXPORT:STOPIT /EXPORT:X /EXPORT:TUE /EXPORT:UGR /EXPORT:UPR /EXPORT:REZRHEADER *.obj"/> <compilerFortran command="ifort" keys="/fpscomp:ioformat /w /WB /Zd /Zi /libs:static /Qsave /O3 /Threads /c *.f" keysDll="/c /Og /O2 /Ot /QaxSSE2 /QxHost /Zi /w /WB /4Ns /Qsave /NODEFAULTLIB /threads /fpscomp:ioformat *.f"/> <compilerCpp command="cl" keys="/O2 /Oi /EHsc /MT /Gy /W3 /nologo /c /TP *.cpp" keysDll="/O2 /Oi /EHsc /MT /Gy /W3 /nologo /c /TP *.cpp"/> </shellCommands> <shellCommands name="gnu" path="%FRUND%/Compiler/GNU/Bin;%FRUND%/Compiler/GNU/Bin/libexec/gcc/i386-pc-mingw32/4.3.0" lib="%FRUND%/Compiler/GNU/Lib" inc="%FRUND%/Compiler/GNU/include" > <linker command="gfortran" keys="*.o solver.a -o solver.exe" keysDll="*.o solver.a -o -shared solver.dll"/> <compilerFortran command="gfortran" keys="-w -c -fno-automatic -fdollar-ok -fpic *.f" keysDll="-w -c -fno-automatic -fdollar-ok -fpic -shared *.f"/> <compilerCpp keys="-c -o3 *.cpp" command="gcc" keysDll="-c -o3 -dll *.cpp"/> </shellCommands> </fcoreConfig>