Importing libraries inside git repo.

Technical questions regarding the XTC tools and programming with XMOS.
Post Reply
User avatar
RedDave
Experienced Member
Posts: 77
Joined: Fri Oct 05, 2018 4:26 pm

Importing libraries inside git repo.

Post by RedDave »

I am investigating an inconsistency.

I have followed the same procedure in xTime a few times.
  • I create a new workspace
    I create a new xTimeComposer project.
    I create a dummy int main() {return 0;}
    I modify he Makefile
    • USED_MODULES = lib_webserver
      XCC_FLAGS = -O2 -g -report -DUSE_LWIP=1
    build the project.
When I do this, sometimes lib_webserver and its dependencies are imported into the project and some times they aren't. It appears that when the workspace was inside a git repo, the libraries are not imported. I tested this by following the procedure (no imported libraries), deleting the files, deleting the .git folder and repeating (libraries imported). This sort of backed up my hypothesis.

Why is this?
BTW, the code does not build when the libraries are not imported, so this is kinda important.


User avatar
RedDave
Experienced Member
Posts: 77
Joined: Fri Oct 05, 2018 4:26 pm

Post by RedDave »

BUMP. Since this has only just gone live.
Post Reply