Pol  Revision:4b29d2b
StdAfx.h File Reference
#include "Header_Windows.h"
#include <assert.h>
#include <atomic>
#include <cstring>
#include <deque>
#include <iostream>
#include <map>
#include <memory>
#include <mutex>
#include <queue>
#include <set>
#include <stack>
#include <stddef.h>
#include <stdlib.h>
#include <string>
#include <thread>
#include <vector>
#include <format/format.h>
#include <boost/algorithm/string/case_conv.hpp>
#include <boost/any.hpp>
#include <boost/flyweight.hpp>
#include <boost/noncopyable.hpp>
#include "Debugging/LogSink.h"
#include "compilerspecifics.h"
#include "message_queue.h"
#include "fixalloc.h"
#include "logfacility.h"
#include "passert.h"
#include "rawtypes.h"
#include "refptr.h"
#include "stlutil.h"
#include "strutil.h"
#include "weakptr.h"

Go to the source code of this file.

Detailed Description

stdafx.h: include file for standard system include files, or project specific include files that are used frequently, but are changed infrequently

History
HowTo
  • Add a normal Header file which includes everything you want in the pch.
  • Add a normal cpp which only includes this header.
  • In the project settings C/C++ Precompiled header: Use /Yu
  • And since the pch header file needs to be included everywhere also use /FI (forced include file) in the advanced section.
  • The pch needs also to be created and thats why the additional cpp file exists, in the properties of this file instead of "Use /Yu" set it to "Create /Yc"

Definition in file StdAfx.h.