From 09028c25653bf4449c12be4967ad2ecd59a967f2 Mon Sep 17 00:00:00 2001 From: Adam Tkac Date: Thu, 25 Nov 2010 13:37:17 +0000 Subject: [PATCH] [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 --- win/CMakeLists.txt | 2 +- win/resdefs.h.cmake.in | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 win/resdefs.h.cmake.in 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 -- 2.39.5