Closed pavoljuhas closed 7 years ago
allow that flag only for test or alltests command-line targets. Die if there are any other targets or if there are no targets at all.
Done. When test_installed
flag is set only the test-related targets are defined. Passing any other target on scons
command-line will result in failed build.
prepend includedir and libdir before executing SConscript.configure
Won't do. includeddir
and libdir
refer only to the installed libdiffpy library. Compiler paths for configured libraries need to be set by other means, e.g., by setting CPATH or LIBRARY_PATH.
... Passing any other target on scons command-line will result in failed build.
Done.
The
test_installed
flag tells scons to build unit tests with/respect to the libdiffpy installation inprefix
.test
oralltests
command-line targets. Die if there are any other targets or if there are no targets at all.prependincludedir
andlibdir
before executing SConscript.configure.Do not prepend our own build directory whentest_installed
is set.