diff options
author | Serghei Amelian <serghei.amelian@gmail.com> | 2012-02-14 20:55:22 +0200 |
---|---|---|
committer | Serghei Amelian <serghei.amelian@gmail.com> | 2012-02-14 20:55:22 +0200 |
commit | adee843c4d5c8fbce75abd3a768d643392e4ea90 (patch) | |
tree | 6b4ab90028fc79ca1cfaeda61c0f66aaef7ed9fe /umbrello/CMakeLists.txt | |
parent | bfb0bc00e959ed3cac6cf4e517a24de50446be50 (diff) | |
download | tdesdk-adee843c4d5c8fbce75abd3a768d643392e4ea90.tar.gz tdesdk-adee843c4d5c8fbce75abd3a768d643392e4ea90.zip |
[tdesdk/cmake] added forgotten files
Diffstat (limited to 'umbrello/CMakeLists.txt')
-rw-r--r-- | umbrello/CMakeLists.txt | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/umbrello/CMakeLists.txt b/umbrello/CMakeLists.txt new file mode 100644 index 00000000..5429f5a4 --- /dev/null +++ b/umbrello/CMakeLists.txt @@ -0,0 +1,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 ) |