Error: Reformat CMake code
@@ -8,16 +8,11 @@ set_source_files_properties(elektra-export-errors OBJECT_DEPENDS ${CMAKE_CURRENT
find_util (elektra-export-errors EXE_ERR_LOC EXE_ERR_ARG)
set (BINARY_INCLUDE_DIR "${PROJECT_BINARY_DIR}/src/include")
-add_custom_command (
- OUTPUT ${BINARY_INCLUDE_DIR}/kdberrors.h
- DEPENDS elektra-export-errors ${CMAKE_CURRENT_SOURCE_DIR}/specification
- COMMAND ${EXE_ERR_LOC}
- ARGS ${EXE_ERR_ARG} ${CMAKE_CURRENT_SOURCE_DIR}/specification ${BINARY_INCLUDE_DIR}/kdberrors.h
- )
-add_custom_target (
- kdberrors_generated ALL
- DEPENDS ${BINARY_INCLUDE_DIR}/kdberrors.h
- )
+add_custom_command (OUTPUT ${BINARY_INCLUDE_DIR}/kdberrors.h
+ DEPENDS elektra-export-errors
+ ${CMAKE_CURRENT_SOURCE_DIR}/specification
+ COMMAND ${EXE_ERR_LOC} ARGS ${EXE_ERR_ARG} ${CMAKE_CURRENT_SOURCE_DIR}/specification ${BINARY_INCLUDE_DIR}/kdberrors.h)
+add_custom_target (kdberrors_generated ALL DEPENDS ${BINARY_INCLUDE_DIR}/kdberrors.h)
add_executable (exporttranslations exporttranslations.cpp parser.hpp parser.cpp)
