ls function fails
Hi Tobias.
I have a biicode user in our forum trying to write a block for Qt in the same way I wrote the Boost block: http://forum.biicode.com/t/cmake-crasheddddddddddddddddd
He's using the shell wrapper ls() utility, but cmake hangs completely. I have checked on my computer and the same occurs :(
For example, a simple LS("home/manu343726/"), this is the result:
$ bii configure
INFO: Processing changes...
Running: "cmake" -G "Unix Makefiles" -Wno-dev ../cmake
BLOCK: qiangwu/qt
----------------------------------------------------------- (hangs here for about 2 mins)
ERROR: CMake failed
ok. I'm checking it out right now. which version of cmakepp is it? the current block`?
I can't reproduce the error on linux or windows. I need some sort of output (cmake error message) else I do not even have a guess of whats going wrong because internally ls only uses cmake functions like file(GLOB) and get_filename_component its not a wrapper function as it does not use the shell program to obtain the files.
A quick fix for him would be to not use ls and just use file(GLOB dirs "G:/path/to/qt/*)
The user is running latest version available on the bii block. Also, the only output is what I gave you above. Maybe is something wrong from the bii part, I will check in depth. Thanks for your support
There might be a problem because of the way that blocks are created. currently every successfull build of cmakepp on travis publishes a new block (with which I am not happy - I only want it to publish if I tag it... - but I have not yet addresses this issue...)
Did you get a chance to find the problem?
nope.