CMake: Version Setting (Year-Month) by the dev..

This commit is contained in:
Martin Duquesnoy 2009-07-06 01:02:44 +02:00
parent 139b0e9203
commit 22899d096f

View File

@ -46,9 +46,8 @@ set(wmfs_src
# Set the executable from the wmfs_src
add_executable(wmfs ${wmfs_src})
# Set the version - Get YEAR and MONTH (YYYYmm)
EXEC_PROGRAM("date '+%Y%m'" OUTPUT_VARIABLE YEAR_MONTH)
set(VERSION "WMFS-${YEAR_MONTH}")
# Set the version
set(VERSION "WMFS-200907")
# FLAGS
set(CFLAGS "-g -Wall -ansi")