Skip to content
Merged
Show file tree
Hide file tree
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions Core/Libraries/Source/WWVegas/WWLib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,15 @@ target_include_directories(core_wwlib PUBLIC
${CMAKE_CURRENT_SOURCE_DIR}
)

target_precompile_headers(core_wwlib PRIVATE
always.h
STLUtils.h
win.h
<windows.h>
WWCommon.h
wwstring.h
)

target_link_libraries(core_wwlib PRIVATE
core_wwcommon
corei_always
Expand Down
11 changes: 8 additions & 3 deletions Core/Libraries/Source/debug/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
set(DEBUG_SRC
"_pch.cpp"
"_pch.h"
"debug_cmd.cpp"
"debug_cmd.h"
"debug_debug.cpp"
Expand All @@ -17,7 +15,6 @@ set(DEBUG_SRC
"debug_macro.h"
"debug_stack.cpp"
"debug_stack.h"
"debug.cpp"
"debug.h"
"internal_except.h"
"internal_io.h"
Expand All @@ -32,6 +29,14 @@ target_include_directories(core_debug INTERFACE
${CMAKE_CURRENT_SOURCE_DIR}
)

target_precompile_headers(core_debug PRIVATE
"debug.h"
"internal.h"
"internal_except.h"
"internal_io.h"
<windows.h>
)

target_link_libraries(core_debug PRIVATE
core_config
core_wwcommon
Expand Down
29 changes: 0 additions & 29 deletions Core/Libraries/Source/debug/_pch.cpp

This file was deleted.

41 changes: 0 additions & 41 deletions Core/Libraries/Source/debug/_pch.h

This file was deleted.

29 changes: 0 additions & 29 deletions Core/Libraries/Source/debug/debug.cpp

This file was deleted.

5 changes: 4 additions & 1 deletion Core/Libraries/Source/debug/debug_cmd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,10 @@
//
// Debug command group 'debug'
//////////////////////////////////////////////////////////////////////////////
#include "_pch.h"
#include "debug.h"
#include "debug_cmd.h"
#include "internal.h"
#include <windows.h>
#include <process.h>

bool DebugCmdInterfaceDebug::Execute(class Debug& dbg, const char *cmd,
Expand Down
6 changes: 5 additions & 1 deletion Core/Libraries/Source/debug/debug_debug.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,12 @@
//
// Debug class implementation
//////////////////////////////////////////////////////////////////////////////
#include "_pch.h"
#include "debug.h"
#include "internal.h"
#include "internal_except.h"
#include "internal_io.h"
#include <stdlib.h>
#include <windows.h>
#include <WWCommon.h>
#include <new> // needed for placement new prototype

Expand Down
4 changes: 3 additions & 1 deletion Core/Libraries/Source/debug/debug_except.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@
//
// Unhandled exception handler
//////////////////////////////////////////////////////////////////////////////
#include "_pch.h"
#include "debug.h"
#include "internal_except.h"
#include <windows.h>
#include <commctrl.h>

DebugExceptionhandler::DebugExceptionhandler(void)
Expand Down
1 change: 0 additions & 1 deletion Core/Libraries/Source/debug/debug_getdefaultcommands.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
//
// DebugGetDefaultCommands function
//////////////////////////////////////////////////////////////////////////////
#include "_pch.h"

// this function has its own file so that it can be 'overridden'
// by another program using the Debug module
Expand Down
3 changes: 2 additions & 1 deletion Core/Libraries/Source/debug/debug_internal.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@
//
// Implementation of internal code
//////////////////////////////////////////////////////////////////////////////
#include "_pch.h"
#include "debug.h"
#include <windows.h>

void DebugInternalAssert(const char *file, int line, const char *expr)
{
Expand Down
4 changes: 3 additions & 1 deletion Core/Libraries/Source/debug/debug_io_con.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@
//
// Debug I/O class con (console window)
//////////////////////////////////////////////////////////////////////////////
#include "_pch.h"
#include "debug.h"
#include "internal.h"
#include "internal_io.h"
#include <stdlib.h>
#include <new> // needed for placement new prototype

Expand Down
6 changes: 5 additions & 1 deletion Core/Libraries/Source/debug/debug_io_flat.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,12 @@
//
// Debug I/O class flat (flat or split log file)
//////////////////////////////////////////////////////////////////////////////
#include "_pch.h"
#include "debug.h"
#include "debug_io.h"
#include "internal.h"
#include "internal_io.h"
#include <stdlib.h>
#include <windows.h>
#include <WWCommon.h>
#include <new> // needed for placement new prototype

Expand Down
5 changes: 4 additions & 1 deletion Core/Libraries/Source/debug/debug_io_net.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,10 @@
//
// Debug I/O class net (Network destination via named pipe)
//////////////////////////////////////////////////////////////////////////////
#include "_pch.h"
#include "debug.h"
#include "internal.h"
#include "internal_io.h"
#include <windows.h>
#include <new> // needed for placement new prototype

DebugIONet::DebugIONet(void)
Expand Down
4 changes: 3 additions & 1 deletion Core/Libraries/Source/debug/debug_io_ods.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@
//
// Debug I/O class ods (OutputDebugString, for use in debugger)
//////////////////////////////////////////////////////////////////////////////
#include "_pch.h"
#include "debug.h"
#include "internal.h"
#include "internal_io.h"
#include <new> // needed for placement new prototype

void DebugIOOds::Write(StringType type, const char *src, const char *str)
Expand Down
4 changes: 3 additions & 1 deletion Core/Libraries/Source/debug/debug_stack.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@
//
// Stack walker
//////////////////////////////////////////////////////////////////////////////
#include "_pch.h"
#include "debug.h"
#include "debug_stack.h"
#include <windows.h>
#include "stringex.h"
#include <imagehlp.h>

Expand Down
2 changes: 2 additions & 0 deletions Core/Libraries/Source/debug/internal_io.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@

#pragma once

#include <windows.h>

/// \internal \brief con debug I/O class
class DebugIOCon: public DebugIOInterface
{
Expand Down
8 changes: 6 additions & 2 deletions Core/Libraries/Source/profile/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
set(PROFILE_SRC
"_pch.cpp"
"_pch.h"
"internal_cmd.h"
"internal_funclevel.h"
"internal_highlevel.h"
Expand All @@ -26,6 +24,12 @@ target_include_directories(core_profile INTERFACE
${CMAKE_CURRENT_SOURCE_DIR}
)

target_precompile_headers(core_profile PRIVATE
"profile.h"
"internal.h"
<windows.h>
)

target_link_libraries(core_profile PRIVATE
core_config
core_wwcommon
Expand Down
29 changes: 0 additions & 29 deletions Core/Libraries/Source/profile/_pch.cpp

This file was deleted.

37 changes: 0 additions & 37 deletions Core/Libraries/Source/profile/_pch.h

This file was deleted.

1 change: 1 addition & 0 deletions Core/Libraries/Source/profile/internal.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
#include "internal_cmd.h"
#include "internal_result.h"
#include "Utility/CppMacros.h"
#include <windows.h>

#if !(defined(_MSC_VER) && _MSC_VER < 1300)
#include <atomic>
Expand Down
2 changes: 2 additions & 0 deletions Core/Libraries/Source/profile/internal_funclevel.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@

#pragma once

#include <windows.h>

class ProfileFuncLevelTracer
{
friend class ProfileCmdInterface;
Expand Down
3 changes: 2 additions & 1 deletion Core/Libraries/Source/profile/profile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@
//
// Profile module main code
//////////////////////////////////////////////////////////////////////////////
#include "_pch.h"
#include "profile.h"
#include "internal.h"
#include <new>
#include "mmsystem.h"

Expand Down
3 changes: 2 additions & 1 deletion Core/Libraries/Source/profile/profile_cmd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@
//
// Profile module command interface
//////////////////////////////////////////////////////////////////////////////
#include "_pch.h"
#include "profile.h"
#include "internal.h"

unsigned ProfileCmdInterface::numResIf;
ProfileCmdInterface::Factory *ProfileCmdInterface::resIf;
Expand Down
Loading
Loading