annotate libmustache/CMakeLists.txt @ 109:772d594d8733 default tip @

sqlite: upgrade to 3.42.0
author David Demelier <markand@malikania.fr>
date Wed, 24 May 2023 15:12:34 +0200
parents 7937ccab4d14
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
81
7fdaf1411e6f mustache: import 3.2.1, closes #1714
David Demelier <markand@malikania.fr>
parents:
diff changeset
1 #
7fdaf1411e6f mustache: import 3.2.1, closes #1714
David Demelier <markand@malikania.fr>
parents:
diff changeset
2 # CMakeLists.txt -- CMake build system for kainjow/mustache
7fdaf1411e6f mustache: import 3.2.1, closes #1714
David Demelier <markand@malikania.fr>
parents:
diff changeset
3 #
83
7937ccab4d14 misc: update year
David Demelier <markand@malikania.fr>
parents: 81
diff changeset
4 # Copyright (c) 2016-2019 David Demelier <markand@malikania.fr>
81
7fdaf1411e6f mustache: import 3.2.1, closes #1714
David Demelier <markand@malikania.fr>
parents:
diff changeset
5 #
7fdaf1411e6f mustache: import 3.2.1, closes #1714
David Demelier <markand@malikania.fr>
parents:
diff changeset
6 # Permission to use, copy, modify, and/or distribute this software for any
7fdaf1411e6f mustache: import 3.2.1, closes #1714
David Demelier <markand@malikania.fr>
parents:
diff changeset
7 # purpose with or without fee is hereby granted, provided that the above
7fdaf1411e6f mustache: import 3.2.1, closes #1714
David Demelier <markand@malikania.fr>
parents:
diff changeset
8 # copyright notice and this permission notice appear in all copies.
7fdaf1411e6f mustache: import 3.2.1, closes #1714
David Demelier <markand@malikania.fr>
parents:
diff changeset
9 #
7fdaf1411e6f mustache: import 3.2.1, closes #1714
David Demelier <markand@malikania.fr>
parents:
diff changeset
10 # THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
7fdaf1411e6f mustache: import 3.2.1, closes #1714
David Demelier <markand@malikania.fr>
parents:
diff changeset
11 # WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
7fdaf1411e6f mustache: import 3.2.1, closes #1714
David Demelier <markand@malikania.fr>
parents:
diff changeset
12 # MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
7fdaf1411e6f mustache: import 3.2.1, closes #1714
David Demelier <markand@malikania.fr>
parents:
diff changeset
13 # ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
7fdaf1411e6f mustache: import 3.2.1, closes #1714
David Demelier <markand@malikania.fr>
parents:
diff changeset
14 # WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
7fdaf1411e6f mustache: import 3.2.1, closes #1714
David Demelier <markand@malikania.fr>
parents:
diff changeset
15 # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
7fdaf1411e6f mustache: import 3.2.1, closes #1714
David Demelier <markand@malikania.fr>
parents:
diff changeset
16 # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
7fdaf1411e6f mustache: import 3.2.1, closes #1714
David Demelier <markand@malikania.fr>
parents:
diff changeset
17 #
7fdaf1411e6f mustache: import 3.2.1, closes #1714
David Demelier <markand@malikania.fr>
parents:
diff changeset
18
7fdaf1411e6f mustache: import 3.2.1, closes #1714
David Demelier <markand@malikania.fr>
parents:
diff changeset
19 cmake_minimum_required(VERSION 3.0)
7fdaf1411e6f mustache: import 3.2.1, closes #1714
David Demelier <markand@malikania.fr>
parents:
diff changeset
20 project(libmustache)
7fdaf1411e6f mustache: import 3.2.1, closes #1714
David Demelier <markand@malikania.fr>
parents:
diff changeset
21 add_library(libmustache INTERFACE)
7fdaf1411e6f mustache: import 3.2.1, closes #1714
David Demelier <markand@malikania.fr>
parents:
diff changeset
22 target_include_directories(
7fdaf1411e6f mustache: import 3.2.1, closes #1714
David Demelier <markand@malikania.fr>
parents:
diff changeset
23 libmustache
7fdaf1411e6f mustache: import 3.2.1, closes #1714
David Demelier <markand@malikania.fr>
parents:
diff changeset
24 INTERFACE
7fdaf1411e6f mustache: import 3.2.1, closes #1714
David Demelier <markand@malikania.fr>
parents:
diff changeset
25 $<BUILD_INTERFACE:${libmustache_SOURCE_DIR}>
7fdaf1411e6f mustache: import 3.2.1, closes #1714
David Demelier <markand@malikania.fr>
parents:
diff changeset
26 )
7fdaf1411e6f mustache: import 3.2.1, closes #1714
David Demelier <markand@malikania.fr>
parents:
diff changeset
27 target_sources(libmustache INTERFACE ${libmustache_SOURCE_DIR}/mustache.hpp)