public
/
ack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b4df26e
)
* Initial support of CMake
author
carl
<cecodere@yahoo.ca>
Mon, 18 Feb 2019 16:37:11 +0000
(
00:37
+0800)
committer
carl
<cecodere@yahoo.ca>
Mon, 18 Feb 2019 16:54:23 +0000
(
00:54
+0800)
util/cmisc/CMakeLists.txt
[new file with mode: 0644]
patch
|
blob
diff --git a/util/cmisc/CMakeLists.txt
b/util/cmisc/CMakeLists.txt
new file mode 100644
(file)
index 0000000..
781a69f
--- /dev/null
+++ b/
util/cmisc/CMakeLists.txt
@@ -0,0
+1,17
@@
+cmake_minimum_required (VERSION 2.9)
+project (cmisc)
+
+
+add_executable(tabgen tabgen.c)
+target_compile_definitions(tabgen PUBLIC NORCSID=1)
+
+add_executable(ed ed.c)
+target_compile_definitions(ed PUBLIC NORCSID=1)
+
+
+install(TARGETS tabgen ed DESTINATION bin)
+install(FILES
+ ${CMAKE_CURRENT_SOURCE_DIR}/tabgen.1
+ ${CMAKE_CURRENT_SOURCE_DIR}/ed.1
+ DESTINATION man OPTIONAL)
+