2.2.3. Unix Makefiles¶
CMake option:
-G "Unix Makefiles"
CMake documentation
Wikipedia
2.2.3.1. Ubuntu Installation¶
> sudo apt-get -y install make
> make -v
GNU Make 3.81
...
2.2.3.2. OSX Installation¶
If you’re planning to install Xcode then install it first. make and
other tools come with Xcode. Otherwise make can be installed
with Command line tools only.
Run Launchpad:
Find Terminal and launch it:
Try to execute make (or any other commands for development like GCC, git,
clang, etc.). The following pop-up dialog window will appear:
Click Install. Wait until it has finished with the success message:
Check make location and version:
> which make
/usr/bin/make
> make --version
GNU Make 3.81
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
This program built for i386-apple-darwin11.3.0
Clang will be installed too:
> which clang
/usr/bin/clang
> clang --version
Apple LLVM version 7.0.2 (clang-700.1.81)
Target: x86_64-apple-darwin14.0.0
Thread model: posix
As well as GCC:
> which gcc
/usr/bin/gcc
> gcc --version
Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 7.0.2 (clang-700.1.81)
Target: x86_64-apple-darwin14.0.0
Thread model: posix