path-shortener/CMakeLists.txt

17 lines
385 B
CMake
Raw Normal View History

2024-07-16 11:52:13 +01:00
cmake_minimum_required(VERSION 3.29)
project(path-shortener VERSION 0.0.0 LANGUAGES C)
add_executable(shortpath main.c)
install(TARGETS shortpath)
set(CPACK_PACKAGE_NAME path-shortener)
set(CPACK_PACKAGE_VENDOR simon)
set(CPACK_PACKAGE_DESCRIPTION "CWD path but short")
set(CPACK_PACKAGE_INSTALL_DIRECTORY ${CPACK_PACKAGE_NAME})
set(CPACK_VERBATIM_VARIABLES TRUE)
include(CPack)