SHA256
init
This commit is contained in:
@@ -11,6 +11,7 @@ compile_commands.json
|
||||
CTestTestfile.cmake
|
||||
_deps
|
||||
CMakeUserPresets.json
|
||||
out
|
||||
|
||||
# ---> JetBrains
|
||||
# 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
|
||||
|
||||
|
||||
# Thumbnails
|
||||
._*
|
||||
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
#include <iostream>
|
||||
|
||||
void say_hello(){
|
||||
std::cout << "Hello, from BDPng!\n";
|
||||
}
|
||||
@@ -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()
|
||||
|
||||
@@ -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}"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user