I wanted to port my library project to biicode, however my example uses binaries that are too big for a biicode block (there is a 12MB limit), so I added the example folder to the ignore.bii file. The problem is that it now looks for example/CMakeLists.txt because I'm using the old CMakeLists.txt wrapped in
IF(BIICODE)
INIT_BIICODE_BLOCK()
ADD_BIICODE_TARGETS()
ELSE()
#MY OLD CMAKELIST HERE
ENDIF()
It actually builds fine but bii deps
still tries to resolve the dependency
What should I do ? I don't really want to remove nor change too many things to support biicode as the project is already on github.
Edit: Here is the link to the project : https://github.com/Lectem/libmpo I tried something in the biicode.conf along the lines of
[dependencies]
CMakeLists.txt - example/CMakeLists.txt
include/libmpo/mpo.h - jpeglib.h
but I get this :
WARN: Lectem/libmpo/biicode.conf, [dependencies] CMakeLists.txt - example/CMakeLists.txt
There are no files matching pattern example/CMakeLists.txt
WARN: Lectem/libmpo/biicode.conf, [dependencies] include/libmpo/mpo.h - jpeglib.h
There are no files matching pattern jpeglib.h
Lectem/libmpo depends on:
Lectem/libmpo (self)
include/libmpo/cmpo.h
src/cmpo.c (E)
include/libmpo/mpo.h
src/cmpo.c (E)
src/dmpo.c (E)
src/mpo.c (E)
src/cmpo.c
include/libmpo/cmpo.h (I)
src/dmpo.c
include/libmpo/mpo.h (I)
src/mpo.c
include/libmpo/mpo.h (I)
jpeg/jpeg: 0
jpeglib.h
include/libmpo/mpo.h (E)
system:
assert.h
src/cmpo.c
src/mpo.c
stdint.h
include/libmpo/mpo.h
stdio.h
include/libmpo/mpo.h
stdlib.h
include/libmpo/mpo.h
unresolved:
example/CMakeLists.txt
CMakeLists.txt
jpeglib.h
include/libmpo/mpo.h
I'm also trying to remove the jpeglib.h dependency as I put the following macro :
#ifdef BII
#include <jpeg/jpeg/jpeglib.h>
#else
#include <jpeglib.h>
#endif