Using project generated by cmake

General questions regarding the usage of CodeLite
evstevemd
CodeLite Guru
Posts: 352
Joined: Sun Nov 29, 2009 7:36 pm
Genuine User: Yes
IDE Question: C++
Contact:

Using project generated by cmake

Post 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?

CodeLite 15.x
CodeLite is awesome, I just Love it!

User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Using project generated by cmake

Post 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
Make sure you have read the HOW TO POST thread
evstevemd
CodeLite Guru
Posts: 352
Joined: Sun Nov 29, 2009 7:36 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Using project generated by cmake

Post 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

CodeLite 15.x
CodeLite is awesome, I just Love it!

evstevemd
CodeLite Guru
Posts: 352
Joined: Sun Nov 29, 2009 7:36 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Using project generated by cmake

Post 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

CodeLite 15.x
CodeLite is awesome, I just Love it!

evstevemd
CodeLite Guru
Posts: 352
Joined: Sun Nov 29, 2009 7:36 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Using project generated by cmake

Post 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?

CodeLite 15.x
CodeLite is awesome, I just Love it!

User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Using project generated by cmake

Post by eranif »

Where is the build log?

Eran
Make sure you have read the HOW TO POST thread
evstevemd
CodeLite Guru
Posts: 352
Joined: Sun Nov 29, 2009 7:36 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Using project generated by cmake

Post 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?

CodeLite 15.x
CodeLite is awesome, I just Love it!

Post Reply