c_cpp_project_framework
CMake build system( framework) with kconfig support for C/CPP projects
파일 탐색기
최종 버전 다운로드 (.zip)- test_build.yml
- build.gif
- use_template.png
- launch.json
- tasks.json
- build_run_gdbserver.sh
- launch.json
- lib1.h
- libtest.a
- lib1.c
- .gitignore
- CMakeLists.txt
- Kconfig
- lib2.h
- lib2_private.h
- lib2.c
- CMakeLists.txt
- Kconfig
- lib3.h
- lib3_private.h
- lib3.c
- CMakeLists.txt
- Kconfig
- priority.conf
- test.h
- main.c
- test.c
- test2.c
- CMakeLists.txt
- Kconfig
- .gitignore
- CMakeLists.txt
- config_defaults.mk
- project.py
- compile.cmake
- compile_flags.cmake
- gen_binary.cmake
- project.py
- sort_components.py
- tools.cmake
- utils.py
- flash.py
- run.py
- genconfig.py
- Kconfiglib
- update_build_info.py
- .gitignore
- .gitmodules
- Kconfig
- LICENSE
- README.md
- README_ZH.md
# 설치 가이드
1. 코드 내려받기
git clone https://github.com/Neutree/c_cpp_project_framework
깃허브에서 프로젝트 코드 전체를 내 컴퓨터로 내려받습니다.
cd c_cpp_project_framework
방금 내려받은 프로젝트 폴더 안으로 이동합니다.
2. CMake
보통 추천사전 준비물
cmake ..
소스코드를 분석해 빌드 설정 파일을 생성합니다 (build 폴더 안에서 실행해야 함).
python project.py --toolchain $EMSDK/upstream/emscripten/cmake/Modules/Platform/Emscripten.cmake config
파이썬 스크립트(또는 모듈)를 실행합니다.
* Generate makefile by command `cmake ..`, `..` means the project directory
이 명령어를 터미널에 그대로 입력해 실행하세요.
build 폴더 안에 실행 파일이 생성됐는지 확인하고, 직접 실행해보세요 (예: ./build/앱이름).
이 레포의 README에 적힌 실제 명령어를 그대로 가져왔습니다.
// repository documentation
Was this content helpful?
(0 ratings)
