Mercurial > embed
diff fmt/CMakeLists.txt @ 18:0e89df76cd77
fmt: rename and update to 3.0.0
author | David Demelier <markand@malikania.fr> |
---|---|
date | Wed, 22 Jun 2016 15:52:12 +0200 |
parents | |
children | c374a84a1fa9 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/fmt/CMakeLists.txt Wed Jun 22 15:52:12 2016 +0200 @@ -0,0 +1,22 @@ +# +# CMakeLists.txt -- CMake build system for cppformat +# +# Copyright (c) 2016 David Demelier <markand@malikania.fr> +# +# Permission to use, copy, modify, and/or distribute this software for any +# purpose with or without fee is hereby granted, provided that the above +# copyright notice and this permission notice appear in all copies. +# +# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF +# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +# + +cmake_minimum_required(VERSION 3.0) +project(cppformat) +add_library(cppformat STATIC format.cc format.h) +target_include_directories(cppformat PUBLIC ${cppformat_SOURCE_DIR})