2024年9月4日

常用linux命令

摘要: ls ls-l(详细信息) ls-la(列出隐藏文件) ls-la drwxrwxr-x 3 yan yan 4096 9月 4 15:59 ./ -rw-rw-r-- 1 yan yan 14068 9月 4 15:55 CMakeCache.txt drwxrwxr-x: d 表示directo 阅读全文

posted @ 2024-09-04 17:18 不败剑坤 阅读(20) 评论(0) 推荐(0)

使用Cmake-编写CMakeLists.txt 文件,vscode

摘要: 简单模板: cmake_minimum_required(VERSION 3.10) project(my_project) set(CMAKE_CXX_STANDARD 14) set(CMAKE_CXX_STANDARD_REQUIRED ON) add_executable(my_projec 阅读全文

posted @ 2024-09-04 16:03 不败剑坤 阅读(1391) 评论(0) 推荐(0)

makefile模版

摘要: # funmain:hello.cpp mymath.h mymath.cpp main.cpp # g++ -o funmain hello.cpp mymath.cpp main.cpp # Makefile for a simple C++ project # 编译器 CC = g++ # C 阅读全文

posted @ 2024-09-04 14:57 不败剑坤 阅读(94) 评论(0) 推荐(0)

导航