examples_CMake
CMake 사용법 정리
파일 탐색기
최종 버전 다운로드 (.zip)- CMakeLists.txt
- main.cpp
- CMakeLists.txt
- main.cpp
- CMakeLists.txt
- main.cpp
- test.cpp
- test.h
- test01.cpp
- test01.h
- test02.cpp
- test02.h
- CMakeLists.txt
- main.cpp
- CMakeLists.txt
- test01.cpp
- test01.h
- CMakeLists.txt
- test02.cpp
- test02.h
- CMakeLists.txt
- main.cpp
- dumy.txt
- CMakeLists.txt
- main.cpp
- dumy.txt
- CMakeLists.txt
- hello-boost.cpp
- CMakeLists.txt
- network.cpp
- network.h
- CMakeLists.txt
- main.cpp
- CMakeLists.txt
- main.cpp
- CMakeLists.txt
- main.cpp
- CMakeLists.txt
- main.cpp
- BasicLog.h
- CMakeLists.txt
- Define.h
- ILog.h
- ITcpNetwork.h
- ServerNetErrorCode.h
- TcpNetwork.cpp
- TcpNetwork.h
- boost라이브러리 사용cmake.png
- auto_lib_download.md
- boost_static_lib.md
- build_option.md
- build_shellscript.md
- change_config.md
- clang-tidy.md
- cmd_targz.md
- find_package_And_pkg_check_modules.md
- find_package_templete.md
- headerFile_copy.md
- HowTo_CMake.pdf
- HowTo_CMake.pptx
- IMPORTED_target.md
- LICENSE
- make_config.md
- README.md
- use_gTest.md
- xxx-config.cmake.md
# 설치 가이드
1. 코드 내려받기
git clone https://github.com/jacking75/examples_CMake
깃허브에서 프로젝트 코드 전체를 내 컴퓨터로 내려받습니다.
cd examples_CMake
방금 내려받은 프로젝트 폴더 안으로 이동합니다.
2. CMake
보통 추천사전 준비물
cmake ../Qitta
소스코드를 분석해 빌드 설정 파일을 생성합니다 (build 폴더 안에서 실행해야 함).
cmake -C ../clang-cmakeinit.cmake ../Qiita/
이 명령어를 터미널에 그대로 입력해 실행하세요.
> cmake ..
이 명령어를 터미널에 그대로 입력해 실행하세요.
CMakeCache.txt CMakeFiles / HogeConfig.h Makefile cmake_install.cmake
이 명령어를 터미널에 그대로 입력해 실행하세요.
다운로드 주소는 https://cmake.org/download/ 에서 알 수 있다.
이 명령어를 터미널에 그대로 입력해 실행하세요.
build 폴더 안에 실행 파일이 생성됐는지 확인하고, 직접 실행해보세요 (예: ./build/앱이름).
이 레포의 README에 적힌 실제 명령어를 그대로 가져왔습니다.
// repository documentation
Was this content helpful?
(0 ratings)
