diff --git a/CMakeLists.txt b/CMakeLists.txt index a27308a..bf03d60 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -9,6 +9,8 @@ project( set(CMAKE_CXX_STANDARD 20) 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(CheckCXXCompilerFlag) diff --git a/paper/paper.tex b/paper/paper.tex index d844c9e..2bbb54d 100644 --- a/paper/paper.tex +++ b/paper/paper.tex @@ -8,9 +8,11 @@ \usepackage[edges]{forest} \usepackage{amsmath} +\input{version} + \title{ARTful Concurrency Control à la FoundationDB} \author{Andrew Noyes \thanks{\href{mailto:andrew@weaselab.dev}{andrew@weaselab.dev}}} -\date{} +\date{Version \versionnumber} \usepackage{biblatex} \bibliography{bibliography} diff --git a/paper/version.tex b/paper/version.tex new file mode 100644 index 0000000..f94e545 --- /dev/null +++ b/paper/version.tex @@ -0,0 +1 @@ +\providecommand{\versionnumber}{0.0.6} diff --git a/version.tex.in b/version.tex.in new file mode 100644 index 0000000..3f01637 --- /dev/null +++ b/version.tex.in @@ -0,0 +1 @@ +\providecommand{\versionnumber}{@PROJECT_VERSION@}