Skip to content

Commit 7285286

Browse files
committed
Merge branch '2-build-add-project-cmake' into release
2 parents d4f3e36 + f36bc04 commit 7285286

4 files changed

Lines changed: 55 additions & 8 deletions

File tree

.gitignore

Lines changed: 34 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,6 @@
1111
*.gch
1212
*.pch
1313

14-
# Linker files
15-
*.ilk
16-
17-
# Debugger Files
18-
*.pdb
19-
2014
# Compiled Dynamic libraries
2115
*.so
2216
*.dylib
@@ -37,5 +31,37 @@
3731
*.out
3832
*.app
3933

40-
# debug information files
41-
*.dwo
34+
# data
35+
*.h5
36+
*.gz
37+
*.csv
38+
39+
# Other
40+
*.prof
41+
*.aux
42+
*.json
43+
docs/html/
44+
data
45+
.vscode/
46+
.cache/
47+
compile_commands.json
48+
49+
src/iex2h5
50+
51+
build/
52+
.venv
53+
site/
54+
55+
/overrides/
56+
/badges/
57+
/assets/
58+
/download-demo/
59+
/search/
60+
/spec/
61+
/.nojekyll
62+
/*.html
63+
/*.xml
64+
65+
include/licenses.hpp
66+
67+
examples/python/__pycache__/

cmake/libdecimal_config.cmake.in

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
@PACKAGE_INIT@
2+
3+
include("${CMAKE_CURRENT_LIST_DIR}/libdecimal_targets.cmake")
4+
5+
check_required_components(libdecimal)

test/example.cpp

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
/* This file is part of the LIBDECIMAL project and is licensed under the MIT License.
2+
* Copyright © 2025–2026 Varga Labs, Toronto, ON, Canada 🇨🇦 Contact: info@vargalabs.com */
3+
4+
#define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN
5+
#include <doctest/all>
6+
7+
TEST_CASE("example") {
8+
std::cerr << "example test case" << std::endl;
9+
}

thirdparty/CMakeLists.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# This file is part of the RLP project and is licensed under the MIT License.
2+
#
3+
# Copyright © 2025–2026 Varga Labs, Toronto, ON, Canada 🇨🇦
4+
# Contact: info@vargalabs.com
5+
6+
add_subdirectory(doctest)
7+
add_subdirectory(intel-decimal-float)

0 commit comments

Comments
 (0)