2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-14 12:42:11 +00:00
Files
build/test/project-test1.jam
Vladimir Prus 13c385b491 Refactorings. Use module name to identify Jamfiles, not the directory where
they are located. The problem with using the directory name is that we might
want toolset modules to act as project, and directory name is not unique then.
We might even want to declare two projects in the same module.


[SVN r18542]
2003-05-26 13:51:21 +00:00

20 lines
570 B
Plaintext

import project ;
import targets ;
import assert ;
project.load project-test1 ;
import project-root ;
project-root.print ;
assert.result Jamfile<project-test1/dir2> : project.lookup @/cool-library : "." ;
assert.result Jamfile<project-test1/dir2> : project.lookup project-test1@/cool-library : "." ;
assert.result Jamfile<project-test1/dir> : project.lookup project-test1@dir : "." ;
assert.result Jamfile<project-test1/dir> : project.lookup @dir : "project-test1" ;
assert.result Jamfile<project-test1> : project.lookup @ : "project-test1" ;
NOTFILE all ;