use precompiled headers for VC++ builds

svn path=/trunk/; revision=9420
This commit is contained in:
Martin Fuchs 2004-05-17 13:11:06 +00:00
parent fb5e84bd1f
commit 06c03f786a
32 changed files with 94 additions and 125 deletions

View file

@ -43,7 +43,7 @@ ifndef UNICODE
UNICODE = 1
endif
CFLAGS = -DWIN32 -D_ROS_ -D_WIN32_IE=0x0600 -D_WIN32_WINNT=0x0501 -fexceptions -Wall -I$(W32API_PATH)/include
CFLAGS = -DWIN32 -D_ROS_ -D_WIN32_IE=0x0600 -D_WIN32_WINNT=0x0501 -fexceptions -Wall -I. -I$(W32API_PATH)/include
RCFLAGS = -DWIN32 -D_ROS_ -D__WINDRES__ --include-dir $(W32API_PATH)/include
LFLAGS = -Wl,--subsystem,windows

View file

@ -8,7 +8,7 @@ CC = gcc
CXX = g++
LINK = g++
CFLAGS = -DWIN32 -D_WIN32_IE=0x0600 -D_WIN32_WINNT=0x0501 -fexceptions -Wall
CFLAGS = -DWIN32 -D_WIN32_IE=0x0600 -D_WIN32_WINNT=0x0501 -fexceptions -Wall -I.
RCFLAGS = -DWIN32 -D__WINDRES__
LFLAGS = -Wl,--subsystem,windows

View file

@ -26,20 +26,12 @@
//
#include "../utility/utility.h"
#include "../utility/shellclasses.h"
#include "../utility/shellbrowserimpl.h"
#include "../utility/dragdropimpl.h"
#include "../utility/window.h"
#include "precomp.h"
#include "../globals.h"
#include "../externals.h"
#include "../explorer_intres.h"
#include "desktop.h"
#include "../taskbar/desktopbar.h"
#include "../taskbar/taskbar.h" // for PM_GET_LAST_ACTIVE
#include "../shell/mainframe.h" // for MainFrame::OpenShellFolders()
static BOOL (WINAPI*SetShellWindow)(HWND);

View file

@ -28,10 +28,8 @@
//
#include "../utility/utility.h"
#include "precomp.h"
#include "../explorer.h"
#include "../globals.h"
#include "../explorer_intres.h"
#include "searchprogram.h"

View file

@ -28,15 +28,11 @@
//
#include "../utility/utility.h"
#include "precomp.h"
#include "../explorer.h"
#include "../globals.h"
#include "../externals.h"
#include "../explorer_intres.h"
#include "../desktop/desktop.h"
#include "../taskbar/traynotify.h"
#include "../taskbar/traynotify.h"
#include "settings.h"

View file

@ -28,13 +28,7 @@
//
#include "utility/utility.h"
#include "explorer.h"
#include "desktop/desktop.h"
#include "globals.h"
#include "externals.h"
#include "precomp.h"
#include "explorer_intres.h"

View file

@ -49,7 +49,7 @@ RSC=rc.exe
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
# ADD CPP /nologo /MD /W3 /GR /GX /O1 /D "NDEBUG" /D "WIN32" /D _WIN32_IE=0x0600 /D _WIN32_WINNT=0x0501 /YX /FD /c
# ADD CPP /nologo /MD /W3 /GR /GX /O1 /D "NDEBUG" /D "WIN32" /D _WIN32_IE=0x0600 /D _WIN32_WINNT=0x0501 /Yu"precomp.h" /FD /c
# ADD BASE RSC /l 0x407 /d "NDEBUG"
# ADD RSC /l 0x407 /d "NDEBUG"
BSC32=bscmake.exe
@ -74,7 +74,7 @@ LINK32=link.exe
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c
# ADD CPP /nologo /MDd /W3 /Gm /GR /GX /ZI /Od /D "_DEBUG" /D "WIN32" /D _WIN32_IE=0x0600 /D _WIN32_WINNT=0x0501 /FR /YX /FD /GZ /c
# ADD CPP /nologo /MDd /W3 /Gm /GR /GX /ZI /Od /D "_DEBUG" /D "WIN32" /D _WIN32_IE=0x0600 /D _WIN32_WINNT=0x0501 /FR /Yu"precomp.h" /FD /GZ /c
# ADD BASE RSC /l 0x407 /d "_DEBUG"
# ADD RSC /l 0x407 /d "_DEBUG"
BSC32=bscmake.exe
@ -100,7 +100,7 @@ LINK32=link.exe
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /W3 /GX /O2 /D "NDEBUG" /D "WIN32" /D "_ROS_" /YX /FD /c
# ADD CPP /nologo /MD /W3 /GR /GX /Zi /O2 /D "NDEBUG" /D "WIN32" /D _WIN32_IE=0x0600 /D _WIN32_WINNT=0x0501 /FR /YX /FD /c
# ADD CPP /nologo /MD /W3 /GR /GX /Zi /O2 /D "NDEBUG" /D "WIN32" /D _WIN32_IE=0x0600 /D _WIN32_WINNT=0x0501 /FR /Yu"precomp.h" /FD /c
# ADD BASE RSC /l 0x407 /d "NDEBUG"
# ADD RSC /l 0x407 /d "NDEBUG"
BSC32=bscmake.exe
@ -126,7 +126,7 @@ LINK32=link.exe
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /W3 /GX /O2 /D "NDEBUG" /D "WIN32" /D "UNICODE" /D "_ROS_" /YX /FD /c
# ADD CPP /nologo /MD /W3 /GR /GX /O2 /D "NDEBUG" /D "UNICODE" /D "WIN32" /D _WIN32_IE=0x0600 /D _WIN32_WINNT=0x0501 /YX /FD /c
# ADD CPP /nologo /MD /W3 /GR /GX /O2 /D "NDEBUG" /D "UNICODE" /D "WIN32" /D _WIN32_IE=0x0600 /D _WIN32_WINNT=0x0501 /Yu"precomp.h" /FD /c
# ADD BASE RSC /l 0x407 /d "NDEBUG"
# ADD RSC /l 0x407 /d "NDEBUG"
BSC32=bscmake.exe
@ -152,7 +152,7 @@ LINK32=link.exe
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "_DEBUG" /D "WIN32" /D "UNICODE" /D "_ROS_" /FR /YX /FD /GZ /c
# ADD CPP /nologo /MDd /W3 /Gm /GR /GX /ZI /Od /D "_DEBUG" /D "UNICODE" /D "WIN32" /D _WIN32_IE=0x0600 /D _WIN32_WINNT=0x0501 /FR /YX /FD /GZ /c
# ADD CPP /nologo /MDd /W3 /Gm /GR /GX /ZI /Od /D "_DEBUG" /D "UNICODE" /D "WIN32" /D _WIN32_IE=0x0600 /D _WIN32_WINNT=0x0501 /FR /Yu"precomp.h" /FD /GZ /c
# ADD BASE RSC /l 0x407 /d "_DEBUG"
# ADD RSC /l 0x407 /d "_DEBUG"
BSC32=bscmake.exe
@ -178,7 +178,7 @@ LINK32=link.exe
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "_DEBUG" /D "WIN32" /D "_ROS_" /D _WIN32_IE=0x0501 /D _WIN32_WINNT=0x0501 /FR /YX /FD /GZ /c
# ADD CPP /nologo /MDd /W3 /Gm /GR /GX /ZI /Od /D "_DEBUG" /D "_NO_COMUTIL" /D "WIN32" /D _WIN32_IE=0x0600 /D _WIN32_WINNT=0x0501 /FR /YX /FD /GZ /c
# ADD CPP /nologo /MDd /W3 /Gm /GR /GX /ZI /Od /D "_DEBUG" /D "_NO_COMUTIL" /D "WIN32" /D _WIN32_IE=0x0600 /D _WIN32_WINNT=0x0501 /FR /Yu"precomp.h" /FD /GZ /c
# ADD BASE RSC /l 0x407 /d "_DEBUG"
# ADD RSC /l 0x407 /d "_DEBUG"
BSC32=bscmake.exe
@ -205,7 +205,7 @@ LINK32=link.exe
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /MDd /W3 /Gm /GR /GX /ZI /Od /D "_DEBUG" /D "WIN32" /D "_ROS_" /D _WIN32_IE=0x0501 /D _WIN32_WINNT=0x0501 /FR /YX /FD /GZ /c
# ADD CPP /nologo /MDd /W3 /Gm /GR /GX /ZI /Od /D "_DEBUG" /D "UNICODE" /D "WIN32" /D _WIN32_IE=0x0600 /D _WIN32_WINNT=0x0501 /FR /YX /FD /GZ /c
# ADD CPP /nologo /MDd /W3 /Gm /GR /GX /ZI /Od /D "_DEBUG" /D "UNICODE" /D "WIN32" /D _WIN32_IE=0x0600 /D _WIN32_WINNT=0x0501 /FR /Yu"precomp.h" /FD /GZ /c
# ADD BASE RSC /l 0x407 /d "_DEBUG"
# ADD RSC /l 0x407 /d "_DEBUG"
BSC32=bscmake.exe
@ -232,7 +232,7 @@ LINK32=link.exe
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /MDd /W3 /Gm /GR /GX /ZI /Od /D "_DEBUG" /D "UNICODE" /D "WIN32" /D "_ROS_" /D _WIN32_IE=0x0501 /D _WIN32_WINNT=0x0501 /FR /YX /FD /GZ /c
# ADD CPP /nologo /MT /W3 /GR /GX /O2 /D "NDEBUG" /D "UNICODE" /D "WIN32" /D _WIN32_IE=0x0600 /D _WIN32_WINNT=0x0501 /FD /c
# ADD CPP /nologo /MT /W3 /GR /GX /O2 /D "NDEBUG" /D "UNICODE" /D "WIN32" /D _WIN32_IE=0x0600 /D _WIN32_WINNT=0x0501 /Yu"precomp.h" /FD /c
# ADD BASE RSC /l 0x407 /d "_DEBUG"
# ADD RSC /l 0x407 /d "_DEBUG"
BSC32=bscmake.exe
@ -259,7 +259,7 @@ LINK32=link.exe
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /MT /W3 /GR /GX /O2 /D "NDEBUG" /D "UNICODE" /D "WIN32" /D "_ROS_" /D _WIN32_IE=0x0501 /D _WIN32_WINNT=0x0501 /FD /c
# ADD CPP /nologo /MD /W3 /GR /GX /O2 /D "NDEBUG" /D "UNICODE" /D "WIN32" /D _WIN32_IE=0x0600 /D _WIN32_WINNT=0x0501 /FD /c
# ADD CPP /nologo /MD /W3 /GR /GX /O2 /D "NDEBUG" /D "UNICODE" /D "WIN32" /D _WIN32_IE=0x0600 /D _WIN32_WINNT=0x0501 /Yu"precomp.h" /FD /c
# ADD BASE RSC /l 0x407 /d "_DEBUG"
# ADD RSC /l 0x407 /d "_DEBUG"
BSC32=bscmake.exe
@ -703,10 +703,12 @@ SOURCE=.\shell\shellfs.h
# Begin Source File
SOURCE=.\shell\startup.c
# SUBTRACT CPP /YX /Yc /Yu
# End Source File
# Begin Source File
SOURCE=.\shell\unixfs.cpp
# PROP Exclude_From_Build 1
# End Source File
# Begin Source File
@ -775,6 +777,16 @@ SOURCE=.\globals.h
# Begin Source File
SOURCE=".\i386-stub-win32.c"
# SUBTRACT CPP /YX /Yc /Yu
# End Source File
# Begin Source File
SOURCE=.\precomp.cpp
# ADD CPP /Yc"precomp.h"
# End Source File
# Begin Source File
SOURCE=.\precomp.h
# End Source File
# End Group
# End Target

View file

@ -0,0 +1,28 @@
/*
* Copyright 2004 Martin Fuchs
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
//
// Explorer clone - precompiled header support
//
// precomp.h
//
// Martin Fuchs, 17.05.2004
//
#include "precomp.h"

View file

@ -26,11 +26,9 @@
//
#include "../utility/utility.h"
#include "../utility/shellclasses.h"
#include "../globals.h" // for _prescan_nodes
#include "precomp.h"
#include "entries.h"
//#include "entries.h"
// allocate and initialise a directory entry

View file

@ -26,11 +26,8 @@
//
#include "../utility/utility.h"
#include "../utility/shellclasses.h"
#include "../globals.h"
#include "precomp.h"
#include "entries.h"
#include "fatfs.h"

View file

@ -26,10 +26,8 @@
//
#include "../utility/utility.h"
#include "precomp.h"
#include "../explorer.h"
#include "../globals.h"
#include "ntobjfs.h"
#include "regfs.h"
#include "fatfs.h"

View file

@ -26,11 +26,7 @@
//
#include "../utility/utility.h"
#include "../explorer.h"
#include "../globals.h"
#include "../externals.h"
#include "precomp.h"
/* We can't include webchild.h here - otherwise MinGW produces errors like: "multiple definition of `QACONTAINERFLAGS'"
#include "webchild.h"

View file

@ -26,12 +26,10 @@
//
#include "../utility/utility.h"
#include "../utility/shellclasses.h"
#include "precomp.h"
#include "entries.h"
#include "ntobjfs.h"
#include "winfs.h"
//#include "winfs.h"
#include "regfs.h"

View file

@ -26,10 +26,7 @@
//
#include "../utility/utility.h"
#include "../explorer.h"
#include "../globals.h"
#include "precomp.h"
#include "../explorer_intres.h"

View file

@ -26,10 +26,8 @@
//
#include "../utility/utility.h"
#include "../utility/shellclasses.h"
#include "precomp.h"
#include "entries.h"
#include "regfs.h"

View file

@ -26,10 +26,7 @@
//
#include "../utility/utility.h"
#include "../explorer.h"
#include "../globals.h"
#include "precomp.h"
#include "../explorer_intres.h"

View file

@ -26,14 +26,10 @@
//
#include "../utility/utility.h"
#include "../utility/shellclasses.h"
#include "precomp.h"
#include "../globals.h"
#include "entries.h"
#include "shellfs.h"
#include "winfs.h"
//#include "shellfs.h"
//#include "winfs.h"
#include <shlwapi.h>

View file

@ -28,11 +28,9 @@
#ifdef __WINE__
#include "../utility/utility.h"
#include "../utility/shellclasses.h"
#include "precomp.h"
#include "entries.h"
#include "unixfs.h"
//#include "unixfs.h"
// for UnixDirectory::read_directory()
#include <dirent.h>

View file

@ -26,8 +26,7 @@
//
#include "../utility/utility.h"
#include "../explorer.h"
#include "precomp.h"
#include "../explorer_intres.h"

View file

@ -26,12 +26,9 @@
//
#include "../utility/utility.h"
#include "../utility/shellclasses.h"
#include "../globals.h"
#include "precomp.h"
#include "entries.h"
#include "winfs.h"
//#include "winfs.h"
int ScanNTFSStreams(Entry* entry, HANDLE hFile)

View file

@ -26,11 +26,8 @@
//
#include "../utility/utility.h"
#include "precomp.h"
#include "../explorer.h"
#include "../globals.h"
#include "../externals.h"
#include "../explorer_intres.h"
#include "desktopbar.h"

View file

@ -26,10 +26,7 @@
//
#include "../utility/utility.h"
#include "../explorer.h"
#include "../globals.h"
#include "precomp.h"
#include "startmenu.h"

View file

@ -26,11 +26,8 @@
//
#include "../utility/utility.h"
#include "precomp.h"
#include "../explorer.h"
#include "../globals.h"
#include "../externals.h"
#include "../explorer_intres.h"
#include "quicklaunch.h"

View file

@ -30,11 +30,8 @@
//
#include "../utility/utility.h"
#include "precomp.h"
#include "../explorer.h"
#include "../globals.h"
#include "../externals.h"
#include "../explorer_intres.h"
#include "desktopbar.h"

View file

@ -26,10 +26,7 @@
//
#include "../utility/utility.h"
#include "../explorer.h"
#include "../globals.h"
#include "precomp.h"
#include "taskbar.h"
#include "traynotify.h" // for NOTIFYAREA_WIDTH_DEF

View file

@ -26,10 +26,7 @@
//
#include "../utility/utility.h"
#include "../explorer.h"
#include "../globals.h"
#include "precomp.h"
#include "../explorer_intres.h"

View file

@ -1,3 +1,5 @@
#include "precomp.h"
/**************************************************************************
THIS CODE AND INFORMATION IS PROVIDED 'AS IS' WITHOUT WARRANTY OF
ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
@ -9,10 +11,11 @@
// dragdropimp.cpp: implementation of the IDataObjectImpl class.
//////////////////////////////////////////////////////////////////////
#include <shlobj.h>
#include <assert.h>
#include "dragdropimpl.h"
//#include <shlobj.h>
//#include <assert.h>
//#include "dragdropimpl.h"
//////////////////////////////////////////////////////////////////////
// IDataObjectImpl Class

View file

@ -28,9 +28,7 @@
//
#include "utility.h"
#include "shellclasses.h"
#include "shellbrowserimpl.h"
#include "precomp.h"
HRESULT IShellBrowserImpl::QueryInterface(REFIID iid, void** ppvObject)

View file

@ -28,8 +28,7 @@
//
#include "utility.h"
#include "shellclasses.h"
#include "precomp.h"
#ifdef _MS_VER

View file

@ -26,8 +26,9 @@
//
#include "utility.h"
#include <shellapi.h>
#include "precomp.h"
//#include <shellapi.h>
#include <time.h>
#include <sstream>

View file

@ -26,11 +26,8 @@
//
#include "utility.h"
#include "shellclasses.h"
#include "window.h"
#include "precomp.h"
#include "../globals.h"
#include "../explorer_intres.h" // for ID_GO_BACK, ...

View file

@ -36,9 +36,9 @@
*/
#include "utility.h"
#include "precomp.h"
#include "xmlstorage.h"
//#include "xmlstorage.h"
namespace XMLStorage {