diff options
author | Mateusz Moscicki <m.moscicki2@partner.samsung.com> | 2019-09-24 12:34:45 +0200 |
---|---|---|
committer | Mateusz Moscicki <m.moscicki2@partner.samsung.com> | 2019-09-26 15:44:39 +0200 |
commit | 8c92bdd37ffc13000fdb467d9257c67438902afd (patch) | |
tree | cc66483ee3597f9a75ae428226ad0ac80092e3b6 /cmake | |
parent | f6bd49d980d4506c5f848db955d39ace7d316b73 (diff) | |
download | log_dump-tizen.tar.gz log_dump-tizen.tar.bz2 log_dump-tizen.zip |
Add log_dumpsubmit/tizen/20190926.172549tizen
log_dump is command line tool which is used to dump current system
states. log_dump was previously part of the
platform/core/system/crash-worker repository
Change-Id: I4dd01f6506e93dc6b95174a649066886a9aa5d83
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/ProcessM4.cmake | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/cmake/ProcessM4.cmake b/cmake/ProcessM4.cmake new file mode 100644 index 0000000..09ba1c9 --- /dev/null +++ b/cmake/ProcessM4.cmake @@ -0,0 +1,11 @@ +MACRO(PROCESS_M4 _defines _input _output) + GET_FILENAME_COMPONENT(_name ${_output} NAME) + ADD_CUSTOM_COMMAND( + OUTPUT ${_output} + COMMAND m4 + ARGS -P ${_defines} ${_input} > ${_output} + DEPENDS ${_input} + VERBATIM) + ADD_CUSTOM_TARGET(M4_${_name} DEPENDS ${_output}) + ADD_DEPENDENCIES(${PROJECT_NAME} M4_${_name}) +ENDMACRO(PROCESS_M4) |