Page 1 of 1
Using project generated by cmake
Posted: Mon Aug 31, 2015 3:02 am
by evstevemd
I'm trying to build libgit2 and since it's using cmake I generated XL project using. Cmake (unix makefile)
It went fine and generated all files fine. I added to workspace deleting everything save src include. Project file and makefile
I cannot build. Even clean says no target found
Tried to change working directory to project macro and wul not work.
What am I doing wrong?
Re: Using project generated by cmake
Posted: Mon Aug 31, 2015 1:49 pm
by eranif
Please read the "how to post thread" - check my signature
In short: if you create a custom makefiles using cmake, you need to tell CodeLite how to invoke _your_ custom build system
Eran
Re: Using project generated by cmake
Posted: Mon Aug 31, 2015 10:24 pm
by evstevemd
Well I have read every where in CL docs and I cannot find anything wrong. Actually I can see the build set to custom and there are commands set to invoke make.
That's why I asked.
If there's documentation somewhere (apart from using custom makefile which I have read) I will appreciate
Re: Using project generated by cmake
Posted: Tue Sep 01, 2015 11:49 am
by evstevemd
evstevemd wrote:Well I have read every where in CL docs and I cannot find anything wrong...................If there's documentation somewhere (apart from using custom makefile which I have read) I will appreciate
Am refering to these two pages
http://codelite.org/LiteEditor/CustomMakefiles
http://www.cmake.org/cmake/help/v3.0/ge ... eLite.html
Re: Using project generated by cmake
Posted: Tue Sep 01, 2015 11:53 am
by evstevemd
Your codelite version - 8.1
Is it a self compiled version of codelite -NO
Your OS - Ubuntu 15.04
Compiler version - GCC 4.9
Anything more needed?
Re: Using project generated by cmake
Posted: Tue Sep 01, 2015 6:57 pm
by eranif
Where is the build log?
Eran
Re: Using project generated by cmake
Posted: Tue Sep 01, 2015 9:25 pm
by evstevemd
eranif wrote:Where is the build log?
Eran
I found (from the logs BTW) that first make file need the other.
I don't know why is this (and why there are two makefiles). Since from the Mailing list I read somewhere you being the creator, I think you can help me understand the rationale!
Why can't just CMake produce monolithic CodeLite project like native ones?