I kept the basic idea of these patches but modified them in my own way
to be more project-friendly:
-- It was necessary to modify vglrun so that it uses the custom
"rrfaker", "dlfaker", and "gefaker" strings. I assume that OpenText may
not be using vglrun (some vendors don't), which is why this might not
have been an issue for you.
-- I cleaned up the implementation of dlfaker.c somewhat by using a
CMake-generated header file and macros instead of global strings.
-- The new CMake variable names were changed to be more consistent with
existing CMake variable names (all VirtualGL customization variables
should be prefixed with "VGL_".)
-- The build string customization is now done by setting
VGL_BUILD={whatever}. This overrides both the release and debug build
string, rendering your third patch unnecessary (I cannot change the
debug build string to "XXXXXXXX (debug)" anyhow, because it would break
the in-tree packaging system. If you want to add "(debug)" to the build
string, you can do so now by simply adding it to the value of
VGL_BUILD.) If this is insufficient, then please give me an example of
what your custom build strings look like, and maybe we can come up with
a compromise.
-- All customization variables are now cached, so they can be edited
with the CMake GUI.
-- The packaging system now works even if the library names have been
customized.
Implementation is checked into svn trunk.
On 3/14/15 10:50 PM, Nathan Kidd wrote:
> On 14/03/15 10:35 PM, DRC wrote:
>> I'll look into it. There are a couple of obvious bugs ("defaker"
>> instead of "dlfaker"), and I think I can make CMake do a little more
>> of the work instead of requiring so many ifdefs
>
> Sorry, looking at that 3rd patch again, besides s/defaker/dlfaker/ and
> DEFAKER/DLFAKER/ the *LIB_NAME should be set outside the ifdef like
> lib${RRFAKER_BASE_NAME}.so, as in attached.
>
> -Nathan
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
VirtualGL-Devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/virtualgl-devel