Skip to content

Instantly share code, notes, and snippets.

@wsxq2
Created February 20, 2025 03:22
Show Gist options
  • Save wsxq2/3cfc5a687e9a1e65ef9222ded45fa3ba to your computer and use it in GitHub Desktop.
Save wsxq2/3cfc5a687e9a1e65ef9222ded45fa3ba to your computer and use it in GitHub Desktop.
最小cmake文件,可用于单元测试
cmake_minimum_required(VERSION 3.12)
SET(PROJECT_NAME test)
project(${PROJECT_NAME})
add_executable (${PROJECT_NAME} main.c lidar.c)
target_compile_options(${PROJECT_NAME} PRIVATE -Wall -Wextra -g -O0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment