2015-02-16 21:31:07 +01:00
|
|
|
# Biicode configuration file
|
|
|
|
|
|
|
|
[requirements]
|
|
|
|
google/gtest: 10
|
2015-02-17 22:56:31 +01:00
|
|
|
messmer/cmake: 3
|
2015-02-16 21:31:07 +01:00
|
|
|
|
|
|
|
[parent]
|
2015-02-17 00:31:52 +01:00
|
|
|
messmer/cpp-utils: 1
|
2015-02-16 21:31:07 +01:00
|
|
|
[paths]
|
|
|
|
# Local directories to look for headers (within block)
|
|
|
|
# /
|
|
|
|
# include
|
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
# Manual adjust file implicit dependencies, add (+), remove (-), or overwrite (=)
|
|
|
|
# hello.h + hello_imp.cpp hello_imp2.cpp
|
|
|
|
# *.h + *.cpp
|
|
|
|
|
|
|
|
test/main.cpp + test/*.cpp
|
|
|
|
|
|
|
|
[mains]
|
|
|
|
# Manual adjust of files that define an executable
|
|
|
|
# !main.cpp # Do not build executable from this file
|
|
|
|
# main2.cpp # Build it (it doesnt have a main() function, but maybe it includes it)
|
|
|
|
|
|
|
|
[hooks]
|
|
|
|
# These are defined equal to [dependencies],files names matching bii*stage*hook.py
|
|
|
|
# will be launched as python scripts at stage = {post_process, clean}
|
|
|
|
# CMakeLists.txt + bii/my_post_process1_hook.py bii_clean_hook.py
|
|
|
|
|
|
|
|
[includes]
|
|
|
|
# Mapping of include patterns to external blocks
|
|
|
|
# hello*.h: user3/depblock # includes will be processed as user3/depblock/hello*.h
|
|
|
|
|
|
|
|
[data]
|
|
|
|
# Manually define data files dependencies, that will be copied to bin for execution
|
|
|
|
# By default they are copied to bin/user/block/... which should be taken into account
|
|
|
|
# when loading from disk such data
|
|
|
|
# image.cpp + image.jpg # code should write open("user/block/image.jpg")
|
|
|
|
|