cmake_minimum_required(VERSION 3.0)
project(testRC)
include_directories(include "/usr/include/eigen3")
set(CMAKE_CXX_FLAGS "-O2 -fopenmp")
aux_source_directory(${PROJECT_SOURCE_DIR}/src src)
add_executable(exe main.cpp ${src})
一个简单的CMakelists
最新推荐文章于 2024-11-02 16:10:25 发布