Path transforms are only allowed on the start of the path like this something(path/path/file)
app -> application
obj -> objects
lib -> library
shlib -> shared_library
shlib_dep -> removed, see below
I also removed shlib_dep because shared_library_dependency is just in my way too much. So instead of writing like this :
build app(test): obj(obj/*) shlib_dep(libs/*)
You should write like this now :
# last part after | here means that application will be rebuilt when library changes
build application(test): objects(obj/*) | shared_library(libs/*)
libs += testlib
libdirs += libs
Pros : no difference between linking with shared or static library (only difference in implicit dependency). Cons : you need to specify all libraries by hand, which somewhat unfriendly.
PS. I honestly prefer shorter names, maybe we should allow both or enable some sort of 1337 syntax :expressionless:
Fix #102
something(path/path/file)
I also removed shlib_dep because shared_library_dependency is just in my way too much. So instead of writing like this :
You should write like this now :
Pros : no difference between linking with shared or static library (only difference in implicit dependency). Cons : you need to specify all libraries by hand, which somewhat unfriendly.
PS. I honestly prefer shorter names, maybe we should allow both or enable some sort of 1337 syntax :expressionless: