From 6ff0f86606054662fa71ebcf342aa0eaa4dc10c1 Mon Sep 17 00:00:00 2001 From: ridiculousfish Date: Fri, 8 Sep 2017 15:19:07 -0700 Subject: [PATCH] Define fish_indent and fish_key_reader in CMake This adds CMake targets for fish_indent and fish_key_reader. --- CMakeLists.txt | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index ab604fe0b..ffb8c0614 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -69,5 +69,15 @@ ENDFUNCTION(FISH_LINK_DEPS) ADD_EXECUTABLE(fish src/fish.cpp ${FISH_SRCS}) FISH_LINK_DEPS(fish) +# Define fish_indent. +ADD_EXECUTABLE(fish_indent + src/fish_indent.cpp src/print_help.cpp ${FISH_SRCS}) +FISH_LINK_DEPS(fish_indent) + +# Define fish_key_reader. +ADD_EXECUTABLE(fish_key_reader + src/fish_key_reader.cpp src/print_help.cpp ${FISH_SRCS}) +FISH_LINK_DEPS(fish_key_reader) + # Set up tests. INCLUDE(CMakeFiles/Tests.cmake)