mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-07-07 20:06:39 +02:00
Cleanup CMake files
- Replace tabs with spaces - Use lowercase for CMake commands - Unify alignment - Remove superfluous empty line - Add space after CMake command Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
This commit is contained in:
parent
81bc57309b
commit
20a8a4a4cc
8 changed files with 51 additions and 42 deletions
|
@ -72,4 +72,3 @@ set_property (TARGET timew_executable PROPERTY OUTPUT_NAME "timew")
|
|||
set_property (TARGET lex_executable PROPERTY OUTPUT_NAME "lex")
|
||||
|
||||
install (TARGETS timew_executable DESTINATION bin)
|
||||
|
||||
|
|
|
@ -7,15 +7,14 @@ include_directories (${CMAKE_SOURCE_DIR}
|
|||
|
||||
set (ADDITIONAL_HELP_H "additional-help.h")
|
||||
|
||||
ADD_CUSTOM_COMMAND (
|
||||
OUTPUT ${ADDITIONAL_HELP_H}
|
||||
COMMAND /bin/sh src/commands/generate-additional-help.sh > src/commands/${ADDITIONAL_HELP_H}
|
||||
DEPENDS ${CMAKE_CURRENT_LIST_DIR}/generate-additional-help.sh
|
||||
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
|
||||
COMMENT "Generating ${ADDITIONAL_HELP_H}")
|
||||
add_custom_command (OUTPUT ${ADDITIONAL_HELP_H}
|
||||
COMMAND /bin/sh src/commands/generate-additional-help.sh > src/commands/${ADDITIONAL_HELP_H}
|
||||
DEPENDS ${CMAKE_CURRENT_LIST_DIR}/generate-additional-help.sh
|
||||
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
|
||||
COMMENT "Generating ${ADDITIONAL_HELP_H}")
|
||||
|
||||
ADD_CUSTOM_TARGET (generate_additional_help
|
||||
DEPENDS ${ADDITIONAL_HELP_H})
|
||||
add_custom_target (generate_additional_help
|
||||
DEPENDS ${ADDITIONAL_HELP_H})
|
||||
|
||||
set (commands_SRCS CmdAnnotate.cpp
|
||||
CmdCancel.cpp
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue