File: CMakeLists.txt

package info (click to toggle)
strcase 0.1-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 96 kB
  • sloc: ansic: 139; makefile: 6
file content (11 lines) | stat: -rw-r--r-- 370 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
cmake_minimum_required(VERSION 3.12)
include(GNUInstallDirs)
project(strcase
    VERSION 0.0.1
    DESCRIPTION "Multiway branch (switch) for short strings in C (in one header file)"
    HOMEPAGE_URL "https://github.com/rd235/strcase")

install(FILES strcase.h DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
install(FILES strcase.3
		DESTINATION ${CMAKE_INSTALL_MANDIR}/man3)