added install to CmakeList.txt

This commit is contained in:
Zastian Pretorius
2021-10-23 03:37:27 +02:00
parent 58e1b9be84
commit d73de62217
2 changed files with 2 additions and 0 deletions

1
.gitignore vendored
View File

@@ -9,3 +9,4 @@ settings.conf
cmake_install.cmake cmake_install.cmake
CMakeCache.txt CMakeCache.txt
Makefile Makefile
install_manifest.txt

View File

@@ -4,3 +4,4 @@ project(fsorter)
set(CMAKE_CXX_STANDARD 20) set(CMAKE_CXX_STANDARD 20)
add_executable(fsorter main.cpp) add_executable(fsorter main.cpp)
install(TARGETS ${PROJECT_NAME} DESTINATION bin)