사용법1 cmake 사용법 Assumption 1. Linux 환경을 기준으로 설명하며, '$'는 Linux Shell Prompt 를 의미함 2. 각 module 별로 CMakeLists.txt 파일을 생성하지 않고, (top directory)/CMakeLists.txt 에 모두 기술함을 기본으로 함 2.1 원하면 (top directory)/CMakeLists.txt 파일에서 하위 directory 별로 CMakeLists.txt 파일로 분리하고 상위 directory의 CMakeLists.txt 에서 add_subdirectory 명령어를 통해 재귀적으로 호출할 수 있음 3. Top directory가 아닌 build directory에 build metadata를 생성하는 것을 기본(희망)으로 함 3.1 Top direc.. 2014. 10. 27. 이전 1 다음