티스토리 뷰

728x90

# Git Hub https://github.com/abseil/abseil-cpp

 

GitHub - abseil/abseil-cpp: Abseil Common Libraries (C++)

Abseil Common Libraries (C++). Contribute to abseil/abseil-cpp development by creating an account on GitHub.

github.com

#Git URL https://github.com/abseil/abseil-cpp.git

 

GitHub - abseil/abseil-cpp: Abseil Common Libraries (C++)

Abseil Common Libraries (C++). Contribute to abseil/abseil-cpp development by creating an account on GitHub.

github.com

#라이센스 https://github.com/abseil/abseil-cpp/blob/master/LICENSE

 

abseil-cpp/LICENSE at master · abseil/abseil-cpp

Abseil Common Libraries (C++). Contribute to abseil/abseil-cpp development by creating an account on GitHub.

github.com

[빌드 방법]

1. Git Souece Clone 

>git clone https://github.com/abseil/abseil-cpp.git

 

GitHub - abseil/abseil-cpp: Abseil Common Libraries (C++)

Abseil Common Libraries (C++). Contribute to abseil/abseil-cpp development by creating an account on GitHub.

github.com

2. Make Build Directory 

>mkdir Build 
>cd Build 

3. Make Build Files ( use Windows, vs2022, C++20, static lib )
>cmake -G "Visual Studio 17 2022" -A x64 -DCMAKE_BUILD_TYPE=Release
-DCMAKE_CXX_FLAGS_RELEASE="/MT" -DABSL_BUILD_SHARED_LIBS=OFF ..

*  -DCMAKE_BUILD_TYPE=Debug
*  -DCMAKE_CXX_FLAGS_RELEASE="/MT" -> Not Used
*  -DABSL_BUILD_SHARED_LIBS=OFF  -> Not Used

4. Open abseil-cpp\build\absl.sln File 

5. 프로젝트별 [속성]-> [C/C++]-> [코드생성]-> [런타임 라이브러리] 변경 
* 본인 프로젝트의 성격에 따라 MT, MTD, MD, MDT 로 변경 
* Relase, Debug, X64,x86 마다 각각 설정 

6. ALL Build 

7. install 및 취합하기 

cmake --install . --config Release --prefix /path/to/install

cmake --install . --config Debug --prefix /path/to/install

8. Target 폴더의 include, lib 들 프로젝트에 삽입 

반응형
댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
«   2024/11   »
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
글 보관함
250x250