diff options
author | Adam Tkac <atkac@redhat.com> | 2010-11-25 13:37:17 +0000 |
---|---|---|
committer | Adam Tkac <atkac@redhat.com> | 2010-11-25 13:37:17 +0000 |
commit | 09028c25653bf4449c12be4967ad2ecd59a967f2 (patch) | |
tree | cc76fc88c6a229342ac931110e5bd64e8d44d5ca /win | |
parent | 684ca1df03763135bd2cf90b07b77517e57f12f3 (diff) | |
download | tigervnc-09028c25653bf4449c12be4967ad2ecd59a967f2.tar.gz tigervnc-09028c25653bf4449c12be4967ad2ecd59a967f2.zip |
[Development] Generate resdefs.h from resdefs.h.cmake.in in cmake builds.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4205 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'win')
-rw-r--r-- | win/CMakeLists.txt | 2 | ||||
-rw-r--r-- | win/resdefs.h.cmake.in | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/win/CMakeLists.txt b/win/CMakeLists.txt index 1fa02c7f..c034f6f6 100644 --- a/win/CMakeLists.txt +++ b/win/CMakeLists.txt @@ -2,7 +2,7 @@ add_definitions(-D_WIN32_IE=0x0500 -D_WIN32_WINNT=0x0500) include_directories(${CMAKE_SOURCE_DIR}/common ${CMAKE_SOURCE_DIR}/win) -configure_file(resdefs.h.in ${CMAKE_CURRENT_BINARY_DIR}/resdefs.h) +configure_file(resdefs.h.cmake.in ${CMAKE_CURRENT_BINARY_DIR}/resdefs.h) add_subdirectory(rfb_win32) add_subdirectory(vncviewer) diff --git a/win/resdefs.h.cmake.in b/win/resdefs.h.cmake.in new file mode 100644 index 00000000..b61db53e --- /dev/null +++ b/win/resdefs.h.cmake.in @@ -0,0 +1,4 @@ +#define __VERSIONSTR "@VERSION@\0" +#define __RCVERSION @RCVERSION@ +#define __RCVERSIONSTR "@RCVERSION@\0" +#cmakedefine WIN64 |