๊ธ€ ์ž‘์„ฑ์ž: ๋˜ฅํด๋ฒ .
๋ฐ˜์‘ํ˜•
์ด ๊ธ€์€ CentOS7 ํ™˜๊ฒฝ ๊ธฐ์ค€์œผ๋กœ ์ž‘์„ฑ๋˜์—ˆ์Šต๋‹ˆ๋‹ค.

 

์ตœ์‹  ๋ฒ„์ „ ๋‹ค์šด๋กœ๋“œ


 cmake ํ™ˆํŽ˜์ด์ง€์— ๋“ค์–ด๊ฐ€์„œ ์ตœ์‹  ๋ฒ„์ „์„ ํ™•์ธํ•œ๋‹ค. (๊ธ€ ์“ด ๋‹น์‹œ ์ตœ์‹  ๋ฒ„์ „ 3.16.0)

https://cmake.org/download/

 

Download | CMake

Current development distribution Each night binaries are created as part of the testing process. Other than passing all of the tests in CMake, this version of CMake should not be expected to work in a production environment. It is being produced so that us

cmake.org

$ wget https://github.com/Kitware/CMake/releases/download/v3.16.0/cmake-3.16.0.tar.gz

 

 

์••์ถ• ํ•ด์ œ ๋ฐ ์„ค์น˜


# ์••์ถ• ํ•ด์ œ
$ tar -xvzf cmake-3.16.0.tar.gz

# ๋””๋ ‰ํ† ๋ฆฌ ์ด๋™
# cd cmake-3.16.0/

 

# ์„ค์น˜
$ ./bootstrap -prefix=/usr/local
$ make
$ make install

 

# ํ™˜๊ฒฝ๋ณ€์ˆ˜ ๋“ฑ๋ก
$ vi ~/.bash_profile

# /usr/local/bin์„ ์ถ”๊ฐ€์‹œ์ผœ์ค€๋‹ค
PATH=/usr/local/bin:$PATH:$HOME/bin

 

 

๋ฒ„์ „ ํ™•์ธ


$ cmake --version

cmake version 3.16.0

CMake suite maintained and supported by Kitware (kitware.com/cmake).
๋ฐ˜์‘ํ˜•