[STLPORT]
authorAmine Khaldi <amine.khaldi@reactos.org>
Wed, 12 Feb 2014 11:56:30 +0000 (11:56 +0000)
committerAmine Khaldi <amine.khaldi@reactos.org>
Wed, 12 Feb 2014 11:56:30 +0000 (11:56 +0000)
* Prepare the CMake script for PCH.
CORE-7716

svn path=/trunk/; revision=62129

reactos/lib/3rdparty/stlport/CMakeLists.txt
reactos/lib/3rdparty/stlport/src/dll_main.cpp

index 4a60835..9a57cdd 100644 (file)
@@ -40,7 +40,11 @@ list(APPEND SOURCE
     src/string.cpp
     src/strstream.cpp
     src/time_facets.cpp
-    src/c_locale.c
-    src/cxa.c)
+    src/stlport_prefix.h)
 
-add_library(stlport ${SOURCE})
+add_library(stlport
+    ${SOURCE}
+    src/cxa.c
+    src/c_locale.c)
+
+add_pch(stlport src/stlport_prefix.h SOURCE)
index faaa721..59b470f 100644 (file)
@@ -23,8 +23,6 @@
  *
  */
 
-#define _STLP_EXPOSE_GLOBALS_IMPLEMENTATION
-
 #include "stlport_prefix.h"
 
 #if !defined (_STLP_DEBUG) && ! defined (_STLP_ASSERTIONS)