This commit is contained in:
ArchZer0
2026-08-16 20:22:18 +08:00
parent d9d392e0a1
commit 1257e5cbdf
4 changed files with 33 additions and 1 deletions
+2
View File
@@ -11,6 +11,7 @@ compile_commands.json
CTestTestfile.cmake CTestTestfile.cmake
_deps _deps
CMakeUserPresets.json CMakeUserPresets.json
out
# ---> JetBrains # ---> JetBrains
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider # Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
@@ -711,6 +712,7 @@ dkms.conf
# Icon must end with two \r # Icon must end with two \r
Icon Icon
# Thumbnails # Thumbnails
._* ._*
+5
View File
@@ -0,0 +1,5 @@
#include <iostream>
void say_hello(){
std::cout << "Hello, from BDPng!\n";
}
+8
View File
@@ -0,0 +1,8 @@
cmake_minimum_required(VERSION 3.10.0)
project(BDPng VERSION 0.1.0 LANGUAGES C CXX)
add_library(BDPng BDPng.cpp)
include(CTest)
enable_testing()
+17
View File
@@ -0,0 +1,17 @@
{
"version": 8,
"configurePresets": [
{
"name": "Clang",
"displayName": "使用工具链文件配置预设",
"description": "设置 Ninja 生成器、版本和安装目录",
"generator": "Ninja",
"binaryDir": "${sourceDir}/out/build/${presetName}",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"CMAKE_TOOLCHAIN_FILE": "",
"CMAKE_INSTALL_PREFIX": "${sourceDir}/out/install/${presetName}"
}
}
]
}