(final)
| 19 | sha512hash=HASH) |
| 20 | |
| 21 | def create(final): |
| 22 | # includes |
| 23 | source_path = ports.get_dir('boost_headers') |
| 24 | source_path_include = os.path.join(source_path, 'boost') |
| 25 | ports.install_header_dir(source_path_include, 'boost') |
| 26 | |
| 27 | # write out a dummy cpp file, to create an empty library |
| 28 | # this is needed as emscripted ports expect this, even if it is not used |
| 29 | dummy_file = os.path.join(source_path, 'dummy.cpp') |
| 30 | shared.safe_ensure_dirs(os.path.dirname(dummy_file)) |
| 31 | ports.write_file(dummy_file, 'static void dummy() {}') |
| 32 | |
| 33 | ports.build_port(source_path, final, 'boost_headers', srcs=['dummy.cpp']) |
| 34 | |
| 35 | return [shared.cache.get_lib('libboost_headers.a', create, what='port')] |
| 36 |
nothing calls this directly
no test coverage detected