형식
if [ 조건 ] ; then
function 1
elif [ 조건 ] ; then
function 2
else
function 3
fi
'개발 관련 > Shell script' 카테고리의 다른 글
나중에 정리 (0) | 2019.01.07 |
---|---|
쉘 스크립트에서 cmake 변수 제거 (0) | 2019.01.07 |
형식
if [ 조건 ] ; then
function 1
elif [ 조건 ] ; then
function 2
else
function 3
fi
나중에 정리 (0) | 2019.01.07 |
---|---|
쉘 스크립트에서 cmake 변수 제거 (0) | 2019.01.07 |
CMake 는 Make의 대용품을 만들기 위한 오픈소스 프로젝트...
ㅇㅇ?
빌드 환경, OS, compiler에 상관없이 컴파일 할 수 있도록 만드는 make(?) tools(?)
1) CMake 버전 확인 하기
"
cmake --version
"
cmake가 설치 되어 있다면 뭔가 나올 것이고
안나오면 설치가 안되어 있는 것이겠지...
2) 설치 하기
2-1) 설치 파일 download
https://cmake.org/download/
에서
을 받자..(RC 버전은 뭔가 불안하니까 ㅎㅎ)
2-2) 압축 풀기
tar -zxvf cmake-version.tar.gz
2-3) 설치
https://cmake.org/install/
./bootstrap
make
sudo make install
여기까지 하면 설치는 끝났음
다시 위 버전 확인하기 해서 버전을 확인 한다
-------------------------------------------------------------------------------------------------------
설치가 잘 된거 같은데
막상 실행 시 안될 때가 있음
Building in Debug mode...
cmake version 3.12.4
CMake suite maintained and supported by Kitware (kitware.com/cmake).
make VERBOSE=1 -j4
make: *** No targets specified and no makefile found. Stop.
buildroot clean build (0) | 2018.10.04 |
---|---|
(H)Win7 <-> (T)VMware windbg 설정 하기 (0) | 2013.12.18 |
* buildroot-xxx clean build 하는 법
make clean
make distclean
make mud_defconfig
make
* download lib 관련
rm -rf dl
tar xzvf dl.tar.gz
cmake 설치 하기 (0) | 2018.11.08 |
---|---|
(H)Win7 <-> (T)VMware windbg 설정 하기 (0) | 2013.12.18 |