aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorDavid Walter Seikel2013-09-02 16:25:18 +1000
committerDavid Walter Seikel2013-09-02 16:25:18 +1000
commit3091381313fe16afa2f39a92665b4403e9cfc888 (patch)
treeb12cf32be8fc9055f6830965029c2844457d184e
parentMerge post fixes so that Linux compiles. (diff)
downloadmeta-impy-3091381313fe16afa2f39a92665b4403e9cfc888.zip
meta-impy-3091381313fe16afa2f39a92665b4403e9cfc888.tar.gz
meta-impy-3091381313fe16afa2f39a92665b4403e9cfc888.tar.bz2
meta-impy-3091381313fe16afa2f39a92665b4403e9cfc888.tar.xz
More post merge cleanups, make it compile under Windows.
-rw-r--r--linden/indra/cmake/00-Common.cmake8
-rw-r--r--linden/indra/cmake/gpg.vs.cmake1
-rw-r--r--linden/indra/cmake/libgcrypt.cmake10
-rw-r--r--linden/indra/cmake/libgpg-error.cmake10
-rw-r--r--linden/indra/cmake/libotr.cmake2
-rw-r--r--linden/indra/cmake/libotrb.cmake2
-rwxr-xr-xlinden/indra/gpg.vs/libgpg-error-1.1.vs/custom/config.h6
7 files changed, 33 insertions, 6 deletions
diff --git a/linden/indra/cmake/00-Common.cmake b/linden/indra/cmake/00-Common.cmake
index 06368c0..6a97391 100644
--- a/linden/indra/cmake/00-Common.cmake
+++ b/linden/indra/cmake/00-Common.cmake
@@ -73,7 +73,6 @@ if (WINDOWS)
73 /DUNICODE 73 /DUNICODE
74 /D_UNICODE 74 /D_UNICODE
75 /GS 75 /GS
76 /TP
77 /W3 76 /W3
78 /c 77 /c
79 /Zc:forScope 78 /Zc:forScope
@@ -100,9 +99,10 @@ if (WINDOWS)
100 endif (MSVC80 OR MSVC90) 99 endif (MSVC80 OR MSVC90)
101 100
102 # Are we using the crummy Visual Studio KDU build workaround? 101 # Are we using the crummy Visual Studio KDU build workaround?
103 if (NOT VS_DISABLE_FATAL_WARNINGS) 102 # FIXME: Let's just disable this for now, see if it's needed, coz I have no idea what that work around is about.
104 add_definitions(/WX) 103# if (NOT VS_DISABLE_FATAL_WARNINGS)
105 endif (NOT VS_DISABLE_FATAL_WARNINGS) 104# add_definitions(/WX)
105# endif (NOT VS_DISABLE_FATAL_WARNINGS)
106endif (WINDOWS) 106endif (WINDOWS)
107 107
108 108
diff --git a/linden/indra/cmake/gpg.vs.cmake b/linden/indra/cmake/gpg.vs.cmake
index a5220f4..c551b3a 100644
--- a/linden/indra/cmake/gpg.vs.cmake
+++ b/linden/indra/cmake/gpg.vs.cmake
@@ -4,3 +4,4 @@
4# make the libgcrypt, libgpg-error, and libotr compile. 4# make the libgcrypt, libgpg-error, and libotr compile.
5 5
6set(gpg.vs_INCLUDE_DIRS ) 6set(gpg.vs_INCLUDE_DIRS )
7add_definitions( /DHAVE_CONFIG_H=1 )
diff --git a/linden/indra/cmake/libgcrypt.cmake b/linden/indra/cmake/libgcrypt.cmake
index 4d19467..19ef1f8 100644
--- a/linden/indra/cmake/libgcrypt.cmake
+++ b/linden/indra/cmake/libgcrypt.cmake
@@ -2,9 +2,19 @@
2 2
3set(LIBGCRYPT_INCLUDE_DIRS 3set(LIBGCRYPT_INCLUDE_DIRS
4 ${CMAKE_BINARY_DIR}/libgcrypt/include 4 ${CMAKE_BINARY_DIR}/libgcrypt/include
5 ${LIBS_OPEN_DIR}/libgcrypt/libgcrypt-1.2.2/src
5 ) 6 )
6 7
8if (DARWIN OR LINUX)
7set(LIBGCRYPT_LIBRARIES 9set(LIBGCRYPT_LIBRARIES
8 ${CMAKE_BINARY_DIR}/libgcrypt/lib/libgcrypt.a 10 ${CMAKE_BINARY_DIR}/libgcrypt/lib/libgcrypt.a
9 ) 11 )
12endif (DARWIN OR LINUX)
10 13
14if (WINDOWS)
15set(LIBGCRYPT_LIBRARIES
16 ${CMAKE_BINARY_DIR}/libgcrypt/gcrypt.lib
17 )
18endif (WINDOWS)
19
20add_definitions( /DHAVE_CONFIG_H=1 )
diff --git a/linden/indra/cmake/libgpg-error.cmake b/linden/indra/cmake/libgpg-error.cmake
index 417ad19..4ec0926 100644
--- a/linden/indra/cmake/libgpg-error.cmake
+++ b/linden/indra/cmake/libgpg-error.cmake
@@ -2,9 +2,19 @@
2 2
3set(LIBGPG-ERROR_INCLUDE_DIRS 3set(LIBGPG-ERROR_INCLUDE_DIRS
4 ${CMAKE_BINARY_DIR}/libgpg-error/include 4 ${CMAKE_BINARY_DIR}/libgpg-error/include
5 ${LIBS_OPEN_DIR}/libgpg-error/libgpg-error-1.0/src
5 ) 6 )
6 7
8if (DARWIN OR LINUX)
7set(LIBGPG-ERROR_LIBRARIES 9set(LIBGPG-ERROR_LIBRARIES
8 ${CMAKE_BINARY_DIR}/libgpg-error/lib/libgpg-error.a 10 ${CMAKE_BINARY_DIR}/libgpg-error/lib/libgpg-error.a
9 ) 11 )
12endif (DARWIN OR LINUX)
10 13
14if (WINDOWS)
15set(LIBGPG-ERROR_LIBRARIES
16 ${CMAKE_BINARY_DIR}/libgpg-error/gpg-error.lib
17 )
18endif (WINDOWS)
19
20add_definitions( /DHAVE_CONFIG_H=1 )
diff --git a/linden/indra/cmake/libotr.cmake b/linden/indra/cmake/libotr.cmake
index 30544f8..6fd61f2 100644
--- a/linden/indra/cmake/libotr.cmake
+++ b/linden/indra/cmake/libotr.cmake
@@ -6,3 +6,5 @@ set(LIBOTR_INCLUDE_DIRS
6set(LIBOTR_LIBRARIES 6set(LIBOTR_LIBRARIES
7 otr 7 otr
8 ) 8 )
9
10add_definitions( /DHAVE_CONFIG_H=1 )
diff --git a/linden/indra/cmake/libotrb.cmake b/linden/indra/cmake/libotrb.cmake
index eb8522f..e9290e8 100644
--- a/linden/indra/cmake/libotrb.cmake
+++ b/linden/indra/cmake/libotrb.cmake
@@ -2,3 +2,5 @@
2include(Prebuilt) 2include(Prebuilt)
3 3
4set(OTR_LIBRARY otr) 4set(OTR_LIBRARY otr)
5
6add_definitions( /DHAVE_CONFIG_H=1 )
diff --git a/linden/indra/gpg.vs/libgpg-error-1.1.vs/custom/config.h b/linden/indra/gpg.vs/libgpg-error-1.1.vs/custom/config.h
index 39d58f5..6a18960 100755
--- a/linden/indra/gpg.vs/libgpg-error-1.1.vs/custom/config.h
+++ b/linden/indra/gpg.vs/libgpg-error-1.1.vs/custom/config.h
@@ -93,8 +93,10 @@
93#define WIN32_LEAN_AND_MEAN 93#define WIN32_LEAN_AND_MEAN
94#include <windows.h> 94#include <windows.h>
95 95
96#define strcasecmp stricmp 96#define strcasecmp _stricmp
97#define strncasecmp strnicmp 97#define strncasecmp _strnicmp
98#define snprintf _snprintf 98#define snprintf _snprintf
99//#define snprintf _snprintf_s
100//#define strerror strerror_s
99 101
100#endif 102#endif