CMakeLists 链接库相关指令

set(LSTAR_DIR "$ENV{HOME}/LStar_build")

include_directories(${LSTAR_DIR})


LINK_DIRECTORIES(${LSTAR_DIR}/lib)

ADD_EXECUTABLE(compass test.cpp )

TARGET_LINK_LIBRARIES(compass lstar_base lstar_hwdrivers)

posted @ 2018-03-26 15:29  白菜菜白  阅读(1915)  评论(0编辑  收藏  举报