Reinstated Norman Vine's TARGET_BASENAME variable in the makefiles and
added prefixes and suffixes to libs and plugins. ALl this to accomodate cygwin... Also added INST_SYS_PREFIX and INST_SHARE_PREFIX for installation, as well as "standardizing" the install locations for the various platforms.
This commit is contained in:
@@ -14,6 +14,7 @@ DIRS = \
|
||||
osgstereoimage\
|
||||
osgtexture\
|
||||
osgviews\
|
||||
osgversion\
|
||||
sgv
|
||||
|
||||
LEFT_TO_DO =\
|
||||
|
||||
11
src/Demos/osgversion/Makefile
Executable file
11
src/Demos/osgversion/Makefile
Executable file
@@ -0,0 +1,11 @@
|
||||
TOPDIR = ../../..
|
||||
include $(TOPDIR)/Make/makedefs
|
||||
|
||||
CXXFILES =\
|
||||
osgversion.cpp\
|
||||
|
||||
LIBS += $(OSG_LIBS) $(GLUT_LIB) $(GL_LIBS) $(X_LIBS) $(OTHER_LIBS)
|
||||
|
||||
EXEC = osgversion
|
||||
|
||||
include $(TOPDIR)/Make/makerules
|
||||
9
src/Demos/osgversion/osgversion.cpp
Normal file
9
src/Demos/osgversion/osgversion.cpp
Normal file
@@ -0,0 +1,9 @@
|
||||
#include <stdio.h>
|
||||
#include <osg/Version>
|
||||
|
||||
|
||||
int main( int argc, char **argv )
|
||||
{
|
||||
printf( "%s\n", osgGetVersion() );
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user