fis-gtm/sr_unix/mumps.cmake

33 lines
820 B
CMake
Raw Permalink Normal View History

2012-06-15 16:26:42 -04:00
#################################################################
# #
# Copyright 2012 Fidelity Information Services, Inc #
# #
# This source code contains the intellectual property #
# of its copyright holder(s), and is made available #
# under a license. If you do not know the terms of #
# the license, please stop and do not read further. #
# #
#################################################################
foreach(v
gtm_dist
gtmroutines
gtm_chset
gtm_icu_version
2012-06-19 14:00:38 -04:00
gtmgbldir
)
if(DEFINED ${v})
set("ENV{${v}}" "${${v}}")
endif()
endforeach()
2012-06-19 14:00:38 -04:00
if(input_file)
set(input_file INPUT_FILE ${input_file})
endif()
if(output_file)
set(output_file OUTPUT_FILE ${output_file})
endif()
2012-06-15 16:26:42 -04:00
execute_process(
COMMAND ${mumps} ${args}
2012-06-19 14:00:38 -04:00
${input_file}
${output_file}
2012-06-15 16:26:42 -04:00
)