티스토리 뷰
728x170
conan create
- conan create는 Conan 패키지를 소스 코드에서 빌드하고 로컬 캐시에 패키지화하는 명령어
- profile 없을 때 detect 명령어로 기본 profile 생성
| $ conan create . ERROR: The default build profile '/home/mj/.conan2/profiles/default' doesn't exist. You need to create a default profile (type 'conan profile detect' command) or specify your own profile with '--profile:build=' $ conan profile detect $ conan profile list Profiles found in the cache: default $ conan profile path default /home/mj/.conan2/profiles/default $ conan profile show Host profile: [settings] arch=x86_64 build_type=Release compiler=gcc compiler.cppstd=gnu17 compiler.libcxx=libstdc++11 compiler.version=13 os=Linux Build profile: [settings] arch=x86_64 build_type=Release compiler=gcc compiler.cppstd=gnu17 compiler.libcxx=libstdc++11 compiler.version=13 os=Linux $ conan create . ======== Exporting recipe to the cache ======== hello/1.0: Exporting package recipe: /home/mj/work/conan-tutorials/sample1/conanfile.py hello/1.0: Copied 1 '.py' file: conanfile.py hello/1.0: Copied 1 '.txt' file: CMakeLists.txt hello/1.0: Copied 1 '.cpp' file: hello.cpp hello/1.0: Copied 1 '.h' file: hello.h hello/1.0: Exported to cache folder: /home/mj/.conan2/p/hello092ffa809a9a1/e .... mj@mj:~/work/conan-tutorials/sample1$ conan list hello Found 1 pkg/version recipes matching hello in local cache Local Cache hello hello/1.0 $ conan create . -s build_type=Debug
... hello/1.0: Hello World Debug! $ conan create . -o hello/1.0:shared=True ... hello/1.0: Hello World Release! $ conan list hello/1.0:* Local Cache hello hello/1.0 revisions 53321bba8793db6fea5ea1a98dd6f3d6 (2025-08-29 23:04:37 UTC) packages 838c313f1b7acdfd23b222f0156e7c264dcc2515 info settings arch: x86_64 build_type: Release compiler: gcc compiler.cppstd: gnu17 compiler.libcxx: libstdc++11 compiler.version: 13 os: Linux options fPIC: True shared: False mj@mj:~/work/conan-tutorials/sample1$ conan cache path hello/1.0 /home/mj/.conan2/p/hello092ffa809a9a1/e mj@mj:~/work/conan-tutorials/sample1$ ls /home/mj/.conan2/p/hello092ffa809a9a1/e conanfile.py conanmanifest.txt |
그리드형
공지사항
최근에 올라온 글
최근에 달린 댓글
링크
TAG
- adb
- 15e 트램
- 리스보아 카드
- Flutter
- 모루정원
- 원숭이의숲
- 포르투
- 오블완
- Python
- 파란버섯
- 파이썬
- 와보땅
- 포르투갈
- javascript
- 티스토리챌린지
- aosp 빌드
- DART
- 다크스텀프
- Unreal Engine
- android
- 리스본
- 메이플랜드
- 와일드보어의 땅
- Skia
- 주황버섯
- 나무던전
- 안드로이드
- 12e 트램
- 마비노기 모바일
- java
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | ||||||
| 2 | 3 | 4 | 5 | 6 | 7 | 8 |
| 9 | 10 | 11 | 12 | 13 | 14 | 15 |
| 16 | 17 | 18 | 19 | 20 | 21 | 22 |
| 23 | 24 | 25 | 26 | 27 | 28 | 29 |
| 30 |
글 보관함
세로형
