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

1
.gitignore vendored
View File

@ -22,3 +22,4 @@ debian/uhub.prerm.debhelper
debian/uhub.substvars debian/uhub.substvars
uhub-passwd uhub-passwd
src/version.h src/version.h
src/system.h

View File

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