Add version to paper
Some checks failed
Tests / Clang total: 1130, passed: 1130
Clang |Total|New|Outstanding|Fixed|Trend |:-:|:-:|:-:|:-:|:-: |0|0|0|0|:clap:
Tests / SIMD fallback total: 1130, passed: 1130
Tests / Release [gcc] total: 1130, passed: 1130
GNU C Compiler (gcc) |Total|New|Outstanding|Fixed|Trend |:-:|:-:|:-:|:-:|:-: |0|0|0|0|:clap:
weaselab/conflict-set/pipeline/head There was a failure building this commit

This commit is contained in:
2024-06-12 13:34:35 -07:00
parent a074bc6f72
commit da7523c5cf
4 changed files with 7 additions and 1 deletions

View File

@@ -9,6 +9,8 @@ project(
set(CMAKE_CXX_STANDARD 20) set(CMAKE_CXX_STANDARD 20)
file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/version.txt ${PROJECT_VERSION}) file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/version.txt ${PROJECT_VERSION})
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/version.tex.in
${CMAKE_CURRENT_SOURCE_DIR}/paper/version.tex)
include(CMakePushCheckState) include(CMakePushCheckState)
include(CheckCXXCompilerFlag) include(CheckCXXCompilerFlag)

View File

@@ -8,9 +8,11 @@
\usepackage[edges]{forest} \usepackage[edges]{forest}
\usepackage{amsmath} \usepackage{amsmath}
\input{version}
\title{ARTful Concurrency Control à la FoundationDB} \title{ARTful Concurrency Control à la FoundationDB}
\author{Andrew Noyes \thanks{\href{mailto:andrew@weaselab.dev}{andrew@weaselab.dev}}} \author{Andrew Noyes \thanks{\href{mailto:andrew@weaselab.dev}{andrew@weaselab.dev}}}
\date{} \date{Version \versionnumber}
\usepackage{biblatex} \usepackage{biblatex}
\bibliography{bibliography} \bibliography{bibliography}

1
paper/version.tex Normal file
View File

@@ -0,0 +1 @@
\providecommand{\versionnumber}{0.0.6}

1
version.tex.in Normal file
View File

@@ -0,0 +1 @@
\providecommand{\versionnumber}{@PROJECT_VERSION@}