Page 1 of 1

build thirdparty

Posted: Mon May 17, 2010 1:15 pm
by matthieuG
Hi,

I would like to add libraries and files for a specific driver so Yann recommand me to use thirdparty.cmake.
I did and I can effectively do that but I noticed a problem : whatever I remove instruction in my FindThirdParty.cmake the instruction are still done!!! I am in the good file because I verified of course and because if I add instructions they are done too. I tried clean operation and to remove all files in local-tmp but still the same problem. I commented also the "INCLUDE("FindThirdParty") and idem.
How can I resolve this problem?

Thanks

Re: build thirdparty

Posted: Tue Jun 15, 2010 12:27 pm
by yrenard
Dear matthieuG,

sorry for late reply, I did not notice this post.

Indeed, CMake uses a cache to preserve variables and skip their evaluation when correctly already evaluated successfully. In some circumstances, you have to clear CMake's cache. The easiest way to do it is to win32-clean.cmd or linux-clean... If you want to go faster and not to recompile the whole software, just go in the local-tmp and delete the directory of the project you are working on. The local-tmp folder is temporary. Removing any part of it is safe.

Hope this helps,
Yann

Re: build thirdparty

Posted: Thu Jun 17, 2010 12:47 pm
by matthieuG
I tried clean operation and to remove all files in local-tmp but still the same problem. I commented also the "INCLUDE("FindThirdParty") and idem.
How can I resolve this problem?
Thanks

Re: build thirdparty

Posted: Thu Jun 17, 2010 2:44 pm
by yrenard
Dear matthieuG,

please post your files so someone can get a look into it.

Yann