2018-06-18 10:07:07 +02:00
|
|
|
execute_process(COMMAND ${CMAKE_COMMAND} -E copy_if_different
|
2019-12-29 07:51:57 +01:00
|
|
|
${BASE_DIR}/tmp_gen/ParserInit.cpp
|
|
|
|
|
${BASE_DIR}/ParserInit.cpp)
|
2018-06-18 10:07:07 +02:00
|
|
|
|
|
|
|
|
execute_process(COMMAND ${CMAKE_COMMAND} -E copy_if_different
|
2019-12-31 14:50:18 +01:00
|
|
|
${BASE_DIR}/tmp_gen/TestKeywords.cpp
|
|
|
|
|
${BASE_DIR}/TestKeywords.cpp)
|
2018-06-18 10:07:07 +02:00
|
|
|
|
2021-03-04 19:12:47 +01:00
|
|
|
if (EXISTS ${BASE_DIR}/python/cxx)
|
|
|
|
|
execute_process(COMMAND ${CMAKE_COMMAND} -E copy_if_different
|
|
|
|
|
${BASE_DIR}/tmp_gen/builtin_pybind11.cpp
|
|
|
|
|
${BASE_DIR}/python/cxx/builtin_pybind11.cpp)
|
|
|
|
|
endif()
|
|
|
|
|
|
2021-03-04 19:12:03 +01:00
|
|
|
execute_process(COMMAND ${CMAKE_COMMAND} -E copy_if_different
|
2021-12-14 08:06:42 +01:00
|
|
|
${BASE_DIR}/tmp_gen/include/opm/input/eclipse/Parser/ParserKeywords/Builtin.hpp
|
|
|
|
|
${BASE_DIR}/include/opm/input/eclipse/Parser/ParserKeywords/Builtin.hpp)
|
2021-03-04 19:12:03 +01:00
|
|
|
|
2018-06-18 10:07:07 +02:00
|
|
|
|
2021-12-14 08:06:42 +01:00
|
|
|
file(GLOB HDRS ${BASE_DIR}/tmp_gen/include/opm/input/eclipse/Parser/ParserKeywords/*.hpp)
|
2018-06-18 10:07:07 +02:00
|
|
|
|
|
|
|
|
foreach(HDR ${HDRS})
|
2021-12-14 08:06:42 +01:00
|
|
|
file(RELATIVE_PATH hdr ${BASE_DIR}/tmp_gen/include/opm/input/eclipse/Parser/ParserKeywords ${HDR})
|
2018-06-18 10:07:07 +02:00
|
|
|
execute_process(COMMAND ${CMAKE_COMMAND} -E copy_if_different
|
|
|
|
|
${HDR}
|
2021-12-14 08:06:42 +01:00
|
|
|
${BASE_DIR}/include/opm/input/eclipse/Parser/ParserKeywords/${hdr})
|
2019-12-30 15:26:17 +01:00
|
|
|
|
|
|
|
|
endforeach()
|
|
|
|
|
|
|
|
|
|
foreach (name A B C D E F G H I J K L M N O P Q R S T U V W X Y Z)
|
|
|
|
|
execute_process(COMMAND ${CMAKE_COMMAND} -E copy_if_different
|
|
|
|
|
${BASE_DIR}/tmp_gen/ParserKeywords/${name}.cpp
|
|
|
|
|
${BASE_DIR}/ParserKeywords/${name}.cpp)
|
2018-06-18 10:07:07 +02:00
|
|
|
endforeach()
|