IT/OS

CMake install

으어오오옹 2018. 11. 15. 15:02
반응형

준비물 :

 - Cmake download : https://cmake.org/download/

  linux .sh 다운로드

 

설치

1
2
3
4
5
6
7
8
9
10
11
$> cmake-3.13.0-rc1-Linux-x86_64.sh --prefix={install_path}
    ….
   Do you accept the license? [yN]: y
   ## license 동의 ? ㅇㅇ
   By default the CMake will be installed in:
        "{install_path}/cmake-3.13.0-rc1-Linux-x86_64"
   Do you want to include the subdirectory cmake-3.13.0-rc1-Linux-x86_64?
        Saying no will install in: "{install_path}" [Yn]: y
   ## cmake-3.13.0-rc1-Linux-x86_64 폴더 생성 하위에 설치할까?
     아니면 install_path 에 바로 설치 할까? Y={install_path}/cmake-3.13.0-rc1-Linux-x86_64 에 설치
                                          N={install_path}/ 에 설치
cs

사용

1
$>{install_path}/cmake-3.13.0-rc1-Linux-x86_64/bin/cmake
cs



반응형