Robert Osfield
b419fa93ef
From Luigi Calori, "when we link against something that comes out from a Find... we ususally have a variable <LINK_VAR_NAME>available like OPENTHREADS_LIBRARY,
...
so I' ve set up a macro that uses the variable name expanded for linking, and test if a variable ${LINK_VAR_NAME}_DEBUG
like OPENTHREADS_LIBRARY_DEBUG exists and in case uses it for linking in debug mode.
I' ve also set up FindOpenThreads to set up these variables.
I had to edit the core libraries CMakeLists to add the calls to the macros used.
I' ve tested under MSVC"
2007-03-26 13:02:38 +00:00
Robert Osfield
282f4ce0b9
Moved the TARGET_NAME setting into the OsgMacroUtils.cmake.
2007-03-19 17:24:19 +00:00
Robert Osfield
d9a94f7890
Moved the TARGET_NAME setting into the SETUP_APPLICATION/EXAMPLE macro
2007-03-19 17:18:59 +00:00
Robert Osfield
be3f61c49f
From Luigi Calori, move to using local CMakeLists.txt files and explicit file lists.
...
From Robert Osfield, small ammendments of the above to seperate example and application installs, and fix the osgPlugins install directory.
2007-03-19 12:30:26 +00:00
Robert Osfield
54127cea20
Fixed install paths of wrappers and plugins
2007-03-12 12:46:36 +00:00
Robert Osfield
34067a3e02
From Luigi Calori, improvements to handling of install under Unix
2007-03-09 14:54:41 +00:00
Robert Osfield
1fd22b8722
Added application_ and example_ before application and example projects.
...
Converted the application CMakeLists.txt and macros to work with the ADD_OSG_APPLICATION macro.
Removed the GDAL checks in the examples/CMakeLists.txt
2007-03-09 13:47:37 +00:00
Robert Osfield
59e6b6c82e
From Lugi Calori, tweaks to macros and addition of CMAKE_INSTALL_PREFIX to FindOpenThreads
2007-03-08 15:33:50 +00:00
Robert Osfield
71ec26ba62
From Luigi Calori, added marco support
2007-03-05 13:27:55 +00:00