issues
search
leggiero-crescendo
/
Dev-perception
자율주행데브코스 인지과정 5기 기록
1
stars
0
forks
source link
CMakeList.txt TIP
#2
Open
leggiero-crescendo
opened
1 year ago
leggiero-crescendo
commented
1 year ago
set : CMake 설정 (ex : set(CMAKE_CXX_STANDARD 14) / CMAKE_BUILD_TYPE = Release)
add_subdirectory : 하위 디렉토리를 연결하는 것
add_excutable : 실행파일을 추가
add_library : 라이브러리를 추가
find_package : pkg 를 찾음
target_include_directories : include 해야할 디렉토리를 연결!
target_link_libraries : libraries 파일들이 있는 곳 연결
leggiero-crescendo
commented
1 year ago
Private, public, static???이 궁금할때
CMake 쪼오끔 도움이 된다고 하지만 아주 많이 도움이 되는 문서
CMake document
거의 다 사용할 수 있는 CMake templates 얍!
CMAKE 명령어