Commit 37fc471 1 parent 18721c6 commit 37fc471 Copy full SHA for 37fc471
File tree 3 files changed +6
-0
lines changed
3 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ add_library(vpidevices
14
14
${CMAKE_SOURCE_DIR} /src/asm.c
15
15
${CMAKE_SOURCE_DIR} /src/obj.c
16
16
)
17
+ install (TARGETS vpidevices LIBRARY DESTINATION lib)
17
18
18
19
set_target_properties (vpidevices PROPERTIES PREFIX "" SUFFIX .vpi)
19
20
Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ add_executable(tld
22
22
23
23
obj.c
24
24
)
25
+ install (TARGETS tld)
25
26
target_link_libraries (tld PUBLIC common)
26
27
27
28
find_package (FLEX)
@@ -47,6 +48,7 @@ add_executable(tas
47
48
${FLEX_scanner_OUTPUTS}
48
49
${BISON_parser_OUTPUTS}
49
50
)
51
+ install (TARGETS tas)
50
52
51
53
target_include_directories (tas PRIVATE ${CMAKE_CURRENT_BINARY_DIR} )
52
54
@@ -68,6 +70,7 @@ add_executable(tsim
68
70
devices/sparseram.c
69
71
devices/zero_word.c
70
72
)
73
+ install (TARGETS tsim)
71
74
72
75
target_link_libraries (tsim PUBLIC common)
73
76
# Plugin support needs -ldl.
Original file line number Diff line number Diff line change @@ -31,8 +31,10 @@ if(SDL)
31
31
find_package (SDL2_image REQUIRED)
32
32
33
33
add_library (tenyrsdlled MODULE sdlled.c)
34
+ install (TARGETS tenyrsdlled LIBRARY DESTINATION lib)
34
35
target_link_libraries (tenyrsdlled PUBLIC common-pic)
35
36
add_library (tenyrsdlvga MODULE sdlvga.c)
37
+ install (TARGETS tenyrsdlvga LIBRARY DESTINATION lib)
36
38
target_link_libraries (tenyrsdlvga PUBLIC common-pic)
37
39
38
40
# Place libraries alongside the `tsim` binary in order to be found.
You can’t perform that action at this time.
0 commit comments