Start generating system.h dynamicallly

This commit is contained in:
klondike 2013-08-31 15:21:59 +02:00 committed by Jan Vidar Krey
parent 652ac5f9b9
commit 3b6c338ee8
3 changed files with 3 additions and 1 deletions

3
.gitignore vendored
View File

@ -21,4 +21,5 @@ debian/uhub.postrm.debhelper
debian/uhub.prerm.debhelper
debian/uhub.substvars
uhub-passwd
src/version.h
src/version.h
src/system.h

View File

@ -208,6 +208,7 @@ if (SYSTEMD_SUPPORT)
endif()
configure_file ("${PROJECT_SOURCE_DIR}/version.h.in" "${PROJECT_SOURCE_DIR}/version.h")
configure_file ("${PROJECT_SOURCE_DIR}/system.h.in" "${PROJECT_SOURCE_DIR}/system.h")
# mark_as_advanced(FORCE CMAKE_BUILD_TYPE)
# if (RELEASE)