3 Star 0 Fork 2

ultralyj/GNSS+INS+CAR

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
CMakeLists.txt 980 Bytes
一键复制 编辑 原始数据 按行查看 历史
ultralyj 提交于 2021-03-10 07:26 . 3.10 up
CMAKE_MINIMUM_REQUIRED(VERSION 3.0)
PROJECT(GNSS)
message("\n GNSS system\n")
set(LIBRARY_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/lib)
include_directories(
${PROJECT_SOURCE_DIR}/inc
)
include_directories(${PROJECT_SOURCE_DIR}/matrix)
aux_source_directory(./src SRC_FILES)
aux_source_directory(./matrix SRC_FILES)
message("add src\n")
find_library(WIRINGPI_LIBRARIES NAMES wiringPi)
find_path(WIRINGPI_INCLUDE_DIRS NAMES wiringPi.h)
message("\n add lib:wiringPi\n")
include(FindPackageHandleStandardArgs)
include_directories(inc)
link_libraries(m)
link_directories("/usr/lib/arm-linux-gnueabihf/")
add_executable(GNSS ${SRC_FILES})
find_package_handle_standard_args(wiringPi DEFAULT_MSG WIRINGPI_LIBRARIES WIRINGPI_INCLUDE_DIRS)
target_link_libraries (GNSS /usr/lib/arm-linux-gnueabihf/libssl.so /usr/lib/arm-linux-gnueabihf/libcrypto.so)
target_link_libraries(GNSS ${WIRINGPI_LIBRARIES})
target_link_libraries(GNSS ${CMAKE_THREAD_LIBS_INIT})
message("\n target link:openssl\n")
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/ultralyj/gnss_ins_car.git
git@gitee.com:ultralyj/gnss_ins_car.git
ultralyj
gnss_ins_car
GNSS+INS+CAR
master

搜索帮助