Please tell me the difference between commands

Questions about other topics - please check if your question fits better in another category before posting here
Forum rules
Before you post please read this

Please tell me the difference between commands

Postby yasirassassin on Wed Dec 19, 2012 2:01 pm

hey guys what is the difference between cmake and make command

and also help me understanding this command

cmake ../..

cmake does make sense but ../.. does not make any sense to me
..am waiting for reply
thanks in advance:)
yasirassassin
Level 1
Level 1
 
Posts: 26
Joined: Fri Nov 09, 2012 11:27 am

Linux Mint is funded by ads and donations.
 

Re: Please tell me the difference between commands

Postby Rail Balco on Thu Dec 20, 2012 4:45 pm

Looks like cmake is cross platform
Found some discussion here
Rail Balco
Level 1
Level 1
 
Posts: 12
Joined: Tue May 29, 2012 6:12 am

Re: Please tell me the difference between commands

Postby Flemur on Thu Dec 20, 2012 5:09 pm

" ../.. " means go up two directory levels. Try
Code: Select all
$ ls ../..
Mint 16/Xfce/fluxbox, Manjaro/fluxbox, LMDE/MATE
User avatar
Flemur
Level 5
Level 5
 
Posts: 588
Joined: Mon Aug 20, 2012 9:41 pm

Re: Please tell me the difference between commands

Postby bjornmu on Fri Dec 21, 2012 6:59 pm

cmake is a platform independent tool for high level control of the software build process, while make is a more low-level tool for unix platforms. You typically may run cmake first, then make.

../.. is the parent parent directory, and the argument to cmake is the top level directory of the source. cmake ../.. means yo prepare a build in a sub-subdirectory of the source; you may do an independent build in another subdirectory.

These are all very general remarks of course.

Gah, and this would be my first post in the forum, it's not even about Mint! :roll: Well I do use cmake and make extensively in my work but only for a single sw product. And I post this on OpenSolaris since I haven't yet "activated' my new dekstop where I have successfully installed Linux Mint 14 MATE. :)
User avatar
bjornmu
Level 3
Level 3
 
Posts: 136
Joined: Wed Dec 19, 2012 2:50 am
Location: Trondheim, Norway


Return to Other topics

Who is online

Users browsing this forum: No registered users and 4 guests