parent
a6ecf365b8
commit
d6e605d40b
|
@ -303,8 +303,6 @@ install(TARGETS gtmsecshr_real DESTINATION gtmsecshrdir)
|
||||||
# <r>.m -> <R>.m
|
# <r>.m -> <R>.m
|
||||||
#file(GLOB m_files_port RELATIVE ${GTM_SOURCE_DIR}/sr_port ${GTM_SOURCE_DIR}/sr_port/*.m)
|
#file(GLOB m_files_port RELATIVE ${GTM_SOURCE_DIR}/sr_port ${GTM_SOURCE_DIR}/sr_port/*.m)
|
||||||
set(m_files_port
|
set(m_files_port
|
||||||
chk2lev.m
|
|
||||||
chkop.m
|
|
||||||
gde.m
|
gde.m
|
||||||
gdeadd.m
|
gdeadd.m
|
||||||
gdechang.m
|
gdechang.m
|
||||||
|
@ -324,13 +322,6 @@ set(m_files_port
|
||||||
gdeshow.m
|
gdeshow.m
|
||||||
gdespawn.m
|
gdespawn.m
|
||||||
gdetempl.m
|
gdetempl.m
|
||||||
gendash.m
|
|
||||||
genout.m
|
|
||||||
loadop.m
|
|
||||||
loadvx.m
|
|
||||||
msg.m
|
|
||||||
tttgen.m
|
|
||||||
tttscan.m
|
|
||||||
)
|
)
|
||||||
|
|
||||||
foreach(m ${m_files_port})
|
foreach(m ${m_files_port})
|
||||||
|
@ -465,7 +456,7 @@ add_custom_command(
|
||||||
OUTPUT gen/ttt.c
|
OUTPUT gen/ttt.c
|
||||||
DEPENDS ${GTM_SOURCE_DIR}/sr_unix/ttt.txt
|
DEPENDS ${GTM_SOURCE_DIR}/sr_unix/ttt.txt
|
||||||
gen/chk2lev.m gen/chkop.m gen/gendash.m gen/genout.m gen/loadop.m
|
gen/chk2lev.m gen/chkop.m gen/gendash.m gen/genout.m gen/loadop.m
|
||||||
gen/loadvx.m gen/tttgen.m gen/tttscan.m
|
gen/loadvx.m gen/tttgen.m gen/tttscan.m ${GTM_SOURCE_DIR}/sr_port/tttgen.cmake
|
||||||
WORKING_DIRECTORY ${GTM_BINARY_DIR}/gen
|
WORKING_DIRECTORY ${GTM_BINARY_DIR}/gen
|
||||||
COMMAND ${CMAKE_COMMAND}
|
COMMAND ${CMAKE_COMMAND}
|
||||||
-D gtm_dist=${GTM_BINARY_DIR}
|
-D gtm_dist=${GTM_BINARY_DIR}
|
||||||
|
@ -474,7 +465,7 @@ add_custom_command(
|
||||||
-D input=${GTM_SOURCE_DIR}/sr_unix/ttt.txt
|
-D input=${GTM_SOURCE_DIR}/sr_unix/ttt.txt
|
||||||
-P ${GTM_SOURCE_DIR}/sr_port/tttgen.cmake
|
-P ${GTM_SOURCE_DIR}/sr_port/tttgen.cmake
|
||||||
)
|
)
|
||||||
list(APPEND gen_bootstrap_files gen/ttt.c sr_port/tttgen.cmake)
|
list(APPEND gen_bootstrap_files gen/ttt.c)
|
||||||
|
|
||||||
foreach(msg
|
foreach(msg
|
||||||
sr_port/cmerrors.msg
|
sr_port/cmerrors.msg
|
||||||
|
@ -485,7 +476,7 @@ foreach(msg
|
||||||
get_filename_component(name ${msg} NAME_WE)
|
get_filename_component(name ${msg} NAME_WE)
|
||||||
add_custom_command(
|
add_custom_command(
|
||||||
OUTPUT gen/${name}_ctl.c
|
OUTPUT gen/${name}_ctl.c
|
||||||
DEPENDS gen/msg.m ${GTM_SOURCE_DIR}/${msg} sr_port/msg.cmake
|
DEPENDS gen/msg.m ${GTM_SOURCE_DIR}/${msg} ${GTM_SOURCE_DIR}/sr_port/msg.cmake
|
||||||
WORKING_DIRECTORY ${GTM_BINARY_DIR}/gen
|
WORKING_DIRECTORY ${GTM_BINARY_DIR}/gen
|
||||||
COMMAND ${CMAKE_COMMAND}
|
COMMAND ${CMAKE_COMMAND}
|
||||||
-D gtm_dist=${GTM_BINARY_DIR}
|
-D gtm_dist=${GTM_BINARY_DIR}
|
||||||
|
|
Loading…
Reference in New Issue