Skip to content

Commit 6724a5d

Browse files
committed
Stub New Files
1 parent 91f1d16 commit 6724a5d

File tree

6 files changed

+582
-0
lines changed

6 files changed

+582
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
cmake_minimum_required(VERSION 3.24)
2+
3+
project(FormatOutput LANGUAGES CXX C)
4+
5+
set(CMAKE_CXX_STANDARD 14)
6+
7+
find_package(fmt REQUIRED)
8+
9+
add_executable(main main.cpp)
10+
target_link_libraries(main PRIVATE fmt::fmt)

examples/conan_cmake/build_requires/README.md

Whitespace-only changes.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#include "fmt/color.h"
2+
3+
int main()
4+
{
5+
fmt::print(fg(fmt::terminal_color::cyan), "Hello fmt {}!\n", FMT_VERSION);
6+
return 0;
7+
}

examples/conan_cmake/build_requires/pdm.lock

Lines changed: 537 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
[project]
2+
description = "A simple project showing how to use conan with CPPython"
3+
name = "cppython-conan-cmake-simple"
4+
version = "1.0.0"
5+
6+
license = { text = "MIT" }
7+
8+
authors = [{ name = "Synodic Software", email = "contact@synodic.software" }]
9+
10+
requires-python = ">=3.13"
11+
12+
dependencies = ["cppython[conan, cmake, git]>=0.9.0"]
13+
14+
15+
[tool.cppython]
16+
generator-name = "cmake"
17+
provider-name = "conan"
18+
19+
install-path = "install"
20+
21+
dependencies = ["fmt>=11.2.0"]
22+
23+
[tool.cppython.generator]
24+
25+
[tool.cppython.provider]
26+
27+
[tool.pdm]
28+
distribution = false

examples/conan_cmake/simple/README.md

Whitespace-only changes.

0 commit comments

Comments
 (0)