Hi Robert,


I've just done a review and would much rather avoid another cmake
option and check for the support at runtime.
Would it be possible to check for the multi-touch support at runtime
rather than require a build against Win7? How about doing a runtime
check for the RegisterTouchWindow() function like we do for OpenGL
functions?

I myself would have preferred this, too.

The problem is: I need structures and definitions from an Windows 7 SDK, not present in VS 2005 and VS2008.

A requirement for this SDK will break compilation on default installations of Visual Studio 2005 and 2008. i.e. roughly 90% of todays Windows OSG users.

I have no idea how to detect compile time presence of support for a specific SDK on Windows, since I have to use the WINNT macro to _set_ the required SDK version.

A quick google search didn't revealed anything useable.

So I think the way is to add an cmake variable.

Runtime detection of RegisterTouchWindow seems no to be a problem and can be added, if you prefer.

Greetings,
Olaf
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to