이거면 간단한 프로젝트 정도는 cmake화 할 수 있을 것이다. 코드는 test/src/CMakeLists.txt # equiv to -I. of gcc param. include_directories(${CMAKE_CURRENT_SOURCE_DIR}) # we have ${CMAKE_CURRENT_BINARY_DIR}, too. Never used it before, though # need GLPK find_package(GLPK REQUIRED) include_directories(${GLPK_INCLUDE_DIRS}) # just specify source files here. # header file requirements are scanned automatically by cmake. set(..