teragonaudio / CMakeJuce

CMake helper files for Juce projects
MIT License
23 stars 6 forks source link

Linux build causes infinite loop #7

Open ebenoist opened 7 years ago

ebenoist commented 7 years ago

Hey friends-

I tried to get a linux build up and running, but running cmake . overrides the original Makefile produced by projucer and when running make <my-project> I get the following loop:

make[994]: warning: -jN forced in submake: disabling jobserver mode.
[  1%] Running external builder
make[997]: warning: -jN forced in submake: disabling jobserver mode.
[  1%] Running external builder
make[1000]: warning: -jN forced in submake: disabling jobserver mode.
[  1%] Running external builder
make[1003]: warning: -jN forced in submake: disabling jobserver mode.
[  1%] Running external builder
make[1006]: warning: -jN forced in submake: disabling jobserver mode.
[  1%] Running external builder
make[1009]: warning: -jN forced in submake: disabling jobserver mode.
[  1%] Running external builder
make[1012]: warning: -jN forced in submake: disabling jobserver mode.
[  1%] Running external builder

until it eventually runs out of memory. I imagine the idea here is to have cmake invoke the original Projucer Makefile, but I'm not sure how to configure the the CMakeLists.txt to make this work correctly.