CMake에 대한 설명 : 여러 블로그 참고.
공부 순서
1. 기본 빌드 시스템에 대한 이해.
2. 기본 문법들정리
- CMakeslist.txt : 기본 단위
- target과 property 의 차이
- 구성헤더 (https://blog.naver.com/lifeisforu/222709070225)
- 변수 설정 (Cmake 의 방식)https://www.tuwlab.com/ece/27260 , https://junstar92.tistory.com/206)
- 라이브러리 추가 하는 방법 (https://www.tuwlab.com/ece/27260)
- Cmake에서 주로 사용하는 예약어 https://www.tuwlab.com/ece/27260
- add_executable (https://modoocode.com/332) : 실행 파일 설정
- list 변수 (https://junstar92.tistory.com/208)
- target_compile_options (https://modoocode.com/332) : 컴파일 옵션
- target_include_directories (include 할 헤더파일 지정)
- add_library ( 라이브러리 관리) - STATIC | SHARED| MODULE
- 옵션 PUBLIC, PRIVATE 의 차이 (https://modoocode.com/332)
- GLOB_RECURSE vs GLOB
- add_subdirectory()
- add_definitions
- .cmake 사용법, 차이점 등 https://velog.io/@mohadang/CMake-include-module