WSL/SLF GitLab Repository
Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
snow-models
inishell
Commits
a45d092c
Commit
a45d092c
authored
Dec 07, 2021
by
Mathias Bavay
Browse files
Added a distclean target
And moved the binary inishell into a "bin" directory
parent
6a7180aa
Changes
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
a45d092c
...
...
@@ -91,4 +91,17 @@ INCLUDE_DIRECTORIES("${PROJECT_SOURCE_DIR}/")
SET
(
SOURCES
${
EXTRA_LIBS_SRC
}
${
PANELS_SRC
}
${
GUI_SRC
}
${
MAIN_SRC
}
${
RESOURCES
}
)
ADD_EXECUTABLE
(
${
TARGET
}
${
SOURCES
}
)
TARGET_LINK_LIBRARIES
(
${
TARGET
}
${
QT5_LIBRARIES
}
)
SET_TARGET_PROPERTIES
(
${
TARGET
}
PROPERTIES
RUNTIME_OUTPUT_DIRECTORY
"
${
PROJECT_SOURCE_DIR
}
/bin"
CLEAN_DIRECT_OUTPUT 1
OUTPUT_NAME
${
TARGET
}
)
INSTALL
(
TARGETS
${
TARGET
}
RUNTIME DESTINATION bin COMPONENT exe
)
ADD_CUSTOM_TARGET
(
distclean make clean
COMMAND cmake -E remove CMakeCache.txt CPackSourceConfig.cmake CPackConfig.cmake CTestTestfile.cmake DartConfiguration.tcl cmake_install.cmake cmake_uninstall.cmake install_manifest.txt Makefile
COMMAND cmake -E remove bin/inishell bin/inishell.*
COMMAND cmake -E remove */CMakeCache.txt */CTestTestfile.cmake */cmake_install.cmake
COMMAND cmake -E remove */*/CMakeCache.txt */*/CTestTestfile.cmake */*/cmake_install.cmake
COMMAND cmake -E remove_directory CMakeFiles
COMMAND cmake -E remove_directory build/tmp/obj tmp/obj inishell_autogen
)
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment