Ticket #194 (closed enhancement: fixed)

Opened 1 year ago

Last modified 1 year ago

also build tests in contrib sources

Reported by: shaegler Assigned to: amz
Priority: minor Milestone: 1.8 Release
Component: Build Version: 1.8
Keywords: Cc:
Completion:

Description

by adding this snippet, the tests in the Contrib get build too…

RCS file: /cvsroot/opensg/OpenSG/Source/Contrib/SConscript,v

retrieving revision 1.10

diff -r1.10 SConscript

90a91,99

> 

> if _po.getOption('tests'):

>     # create test programs

>     for testsource in tests:

>         target = testsource.name[:-4] # get leafname and remove .cpp

>         BuildProgram(tc, target, [testsource], tools=[],

>                      updates=[custom, OpenSGLibrary(['OSGWindowGLUT', 'OSGSystem', 'OSGBase', 'OSGContrib'])],

>                      CPPPATH=['.', env['PREFIX'].Dir('include'), env['PREFIX'].Dir('include/OpenSG')],

>                      CPPDEFINES = ['OSG_BUILD_DLL', 'OSG_WITH_GLUT'])



Change History

06/25/07 09:38:34 changed by dirk

  • owner changed from unassigned to amz.

06/29/07 11:24:06 changed by dirk

  • status changed from new to closed.
  • resolution set to fixed.