mirror of
https://github.com/boostorg/build.git
synced 2026-02-14 12:42:11 +00:00
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]
20 lines
570 B
Plaintext
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 ;
|
|
|
|
|