summaryrefslogtreecommitdiffstats
path: root/umbrello/CMakeLists.txt
blob: 5429f5a4c11c423eb3d94be65acb8a5050791c2d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#################################################
#
#  (C) 2012 Serghei Amelian
#  serghei (DOT) amelian (AT) gmail.com
#
#  Improvements and feedback are welcome
#
#  This file is released under GPL >= 2
#
#################################################

include( ConfigureChecks.cmake )

# generate version.h
file( READ VERSION text )
string( REGEX REPLACE "\n" "" text "${text}" )
file( WRITE ${CMAKE_CURRENT_BINARY_DIR}/version.h "#define UMBRELLO_VERSION \"${text}\"\n" )

add_subdirectory( umbrello )