Hi,
On Tue, 2015-10-06 at 14:04 +0200, Johannes Brunen wrote: > Hello Gerrit, > > > > the OpenSG 2 build system does provide the 'OSG_GLOBAL_PREP' variable, > which allows me to call my own cmake configuration file. In that file > I'm allowed to define another variable 'OSG_ADD_GLOBAL_SRC' that is > evaluated for each of the OpenSG libraries. By that, I'm able to add a > special memory management source file to the OpenSG libraries. That is > working pretty fine. However, when I build any executable in OpenSG, > e.g. the test*.exe or the example executables, then I have to add my > memory management source file explicitly to the project. Both, the > library and the executable must include this file. This is a little > inconvenient and I would like to ask if it is possible to add the above > variable evaluation in all ADD_EXECUTABLE statements, i.e. > ADD_EXECUTABLE(... ${OSG_ADD_GLOBAL_SRC}). I have a look, currently all the file information is collected and temporarily stored. I would probably add a OSG_ADD_GLOBAL_EXE_SRC to have a distinction between libs and executables. kind regards gerrit ------------------------------------------------------------------------------ _______________________________________________ Opensg-users mailing list Opensg-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensg-users