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 read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
yasirassassin

Please tell me the difference between commands

Post by yasirassassin »

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:)
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Rail Balco

Re: Please tell me the difference between commands

Post by Rail Balco »

Looks like cmake is cross platform
Found some discussion here
User avatar
Flemur
Level 20
Level 20
Posts: 10096
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: Please tell me the difference between commands

Post by Flemur »

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

Code: Select all

$ ls ../..
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: 189
Joined: Wed Dec 19, 2012 2:50 am
Location: Trondheim, Norway

Re: Please tell me the difference between commands

Post by bjornmu »

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. :)
Locked

Return to “Other topics”