Author: akhaldi
Date: Tue Feb 11 22:35:09 2014
New Revision: 62124

URL: http://svn.reactos.org/svn/reactos?rev=62124&view=rev
Log:
[CMIPCI]
* Introduce a PCH suitable for use without altering the 3rd party code.
* Prepare the CMake scripts for PCH.
* Improve the GUIDs situation.
CORE-7716

Added:
    trunk/reactos/drivers/wdm/audio/drivers/CMIDriver/guid.cpp   (with props)
    trunk/reactos/drivers/wdm/audio/drivers/CMIDriver/precomp.h   (with props)
Modified:
    trunk/reactos/drivers/wdm/audio/drivers/CMIDriver/CMakeLists.txt

Modified: trunk/reactos/drivers/wdm/audio/drivers/CMIDriver/CMakeLists.txt
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/wdm/audio/drivers/CMIDriver/CMakeLists.txt?rev=62124&r1=62123&r2=62124&view=diff
==============================================================================
--- trunk/reactos/drivers/wdm/audio/drivers/CMIDriver/CMakeLists.txt    
[iso-8859-1] (original)
+++ trunk/reactos/drivers/wdm/audio/drivers/CMIDriver/CMakeLists.txt    
[iso-8859-1] Tue Feb 11 22:35:09 2014
@@ -12,13 +12,15 @@
     adapter.cpp
     common.cpp
     mintopo.cpp
-    minwave.cpp)
+    minwave.cpp
+    precomp.h)
 
 add_library(cmipci SHARED
     ${SOURCE}
+    guid.cpp
     cmipci.rc)
 
-target_link_libraries(cmipci stdunk libcntpr)
+target_link_libraries(cmipci stdunk libcntpr uuid)
 
 set_module_type(cmipci wdmdriver UNICODE)
 
@@ -31,6 +33,7 @@
     set_source_files_properties(${SOURCE} PROPERTIES COMPILE_FLAGS 
"-Wno-write-strings -Wno-switch -Wno-error")
 endif()
 
+add_pch(cmipci precomp.h SOURCE)
 add_cd_file(TARGET cmipci DESTINATION reactos/system32/drivers FOR all)
 if(ARCH STREQUAL "i386")
     add_cd_file(FILE "${CMAKE_CURRENT_SOURCE_DIR}/CM8738-x32.inf" DESTINATION 
reactos/inf FOR all)

Added: trunk/reactos/drivers/wdm/audio/drivers/CMIDriver/guid.cpp
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/wdm/audio/drivers/CMIDriver/guid.cpp?rev=62124
==============================================================================
--- trunk/reactos/drivers/wdm/audio/drivers/CMIDriver/guid.cpp  (added)
+++ trunk/reactos/drivers/wdm/audio/drivers/CMIDriver/guid.cpp  [iso-8859-1] 
Tue Feb 11 22:35:09 2014
@@ -0,0 +1,9 @@
+/* DO NOT USE THE PRECOMPILED HEADER FOR THIS FILE! */
+
+#include <wdm.h>
+#include <ks.h>
+#include <punknown.h>
+#include <initguid.h>
+#include "interfaces.hpp"
+
+/* NO CODE HERE, THIS IS JUST REQUIRED FOR THE GUID DEFINITIONS */

Propchange: trunk/reactos/drivers/wdm/audio/drivers/CMIDriver/guid.cpp
------------------------------------------------------------------------------
    svn:eol-style = native

Added: trunk/reactos/drivers/wdm/audio/drivers/CMIDriver/precomp.h
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/wdm/audio/drivers/CMIDriver/precomp.h?rev=62124
==============================================================================
--- trunk/reactos/drivers/wdm/audio/drivers/CMIDriver/precomp.h (added)
+++ trunk/reactos/drivers/wdm/audio/drivers/CMIDriver/precomp.h [iso-8859-1] 
Tue Feb 11 22:35:09 2014
@@ -0,0 +1,9 @@
+#ifndef _CMIDRIVER_PCH_
+#define _CMIDRIVER_PCH_
+
+#include <wdm.h>
+#include <portcls.h>
+
+#include "debug.hpp"
+
+#endif /* _CMIDRIVER_PCH_ */

Propchange: trunk/reactos/drivers/wdm/audio/drivers/CMIDriver/precomp.h
------------------------------------------------------------------------------
    svn:eol-style = native


Reply via email to