File tree Expand file tree Collapse file tree 5 files changed +624
-0
lines changed Expand file tree Collapse file tree 5 files changed +624
-0
lines changed Original file line number Diff line number Diff line change
1
+ CMAKE_MINIMUM_REQUIRED (VERSION 2.4.8)
2
+ SET (CMAKE_COLOR_MAKEFILE ON )
3
+ SET (CMAKE_VERBOSE_MAKEFILE ON )
4
+ SET (CMAKE_INCLUDE_CURRENT_DIR TRUE )
5
+ SET (CMAKE_BUILD_TYPE Debug)
6
+
7
+ IF (UNIX AND NOT LINUX_SET)
8
+ ADD_DEFINITIONS (-D LINUX)
9
+ ENDIF (UNIX AND NOT LINUX_SET)
10
+
11
+ INCLUDE_DIRECTORIES (
12
+ ../tmolib/
13
+ .
14
+ )
15
+
16
+ LINK_LIBRARIES (
17
+ tmo
18
+ )
19
+
20
+ SET (TMO_SOURCES
21
+ TMOLiu16.cpp
22
+ TMOPlugin.cpp
23
+ )
24
+
25
+
26
+ SET (TMOWARD_HEADERS
27
+ TMOLiu16.h
28
+ TMOPlugin.h
29
+ )
30
+
31
+
32
+ add_library ( liu16 SHARED ${TMO_SOURCES} )
33
+ add_custom_command ( TARGET liu16 POST_BUILD
34
+ COMMAND cp -f libliu16.so ../TMOCmd/liu16.tml
35
+ COMMAND cp -f libliu16.so ../TMOgui/liu16.tml
36
+ COMMAND cp -f libliu16.so ../liu16.tml
37
+ # COMMAND rm -f libliu16.so
38
+ )
39
+
40
+
You can’t perform that action at this time.
0 commit comments