Created
February 20, 2025 03:22
-
-
Save wsxq2/3cfc5a687e9a1e65ef9222ded45fa3ba to your computer and use it in GitHub Desktop.
最小cmake文件,可用于单元测试
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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