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 how to get help
yasirassassin
Level 1
Level 1
Posts: 26
Joined: Fri Nov 09, 2012 11:27 am

Please tell me the difference between commands

Postby yasirassassin » 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:)

Rail Balco
Level 1
Level 1
Posts: 8
Joined: Tue May 29, 2012 6:12 am

Re: Please tell me the difference between commands

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

Looks like cmake is cross platform
Found some discussion here

User avatar
Flemur
Level 9
Level 9
Posts: 2967
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: Please tell me the difference between commands

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

" ../.. " means go up two directory levels. Try

Code: Select all

$ ls ../..
Mint 18 Mate/fluxbox/pulse-less - Xubuntu 16.04/fluxbox/pulse-less
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?

User avatar
bjornmu
Level 3
Level 3
Posts: 159
Joined: Wed Dec 19, 2012 2:50 am
Location: Trondheim, Norway

Re: Please tell me the difference between commands

Postby bjornmu » 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. :)


Return to “Other topics”

Who is online

Users browsing this forum: No registered users and 4 guests