cmake: add dummy target

Fri, 20 Jan 2017 10:40:29 +0100

author
David Demelier <markand@malikania.fr>
date
Fri, 20 Jan 2017 10:40:29 +0100
changeset 46
fa2587b194ee
parent 45
6179fdcc550a
child 47
8a8de065f049

cmake: add dummy target

CMakeLists.txt file | annotate | diff | comparison | revisions
--- a/CMakeLists.txt	Tue Jan 10 14:02:56 2017 +0100
+++ b/CMakeLists.txt	Fri Jan 20 10:40:29 2017 +0100
@@ -18,6 +18,7 @@
 
 cmake_minimum_required(VERSION 3.7)
 project(embed)
+
 add_subdirectory(tests/duktape)
 add_subdirectory(tests/fmt)
 add_subdirectory(tests/gtest)
@@ -28,3 +29,8 @@
 add_subdirectory(tests/pugixml)
 add_subdirectory(tests/sqlite)
 add_subdirectory(tests/yaml)
+
+# dummy target for metadata files.
+file(GLOB LICENSES LICENSE.*.txt)
+file(GLOB VERSIONS VERSION.*.txt)
+add_custom_target(manifest SOURCES ${LICENSES} ${VERSIONS})

mercurial