mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Use dedicated PCH for sdklauncher
SDKLauncher now uses its own PCH.
This commit is contained in:
parent
0a0552d75c
commit
5577d4fe87
@ -1,5 +1,5 @@
|
||||
cmake_minimum_required( VERSION 3.16 )
|
||||
add_module( "exe" "sdklauncher" "vpc" ${FOLDER_CONTEXT} )
|
||||
add_module( "exe" "sdklauncher" "" ${FOLDER_CONTEXT} )
|
||||
|
||||
start_sources()
|
||||
|
||||
@ -23,10 +23,16 @@ end_sources()
|
||||
|
||||
set_target_properties( ${PROJECT_NAME} PROPERTIES OUTPUT_NAME "launcher" )
|
||||
|
||||
target_compile_definitions( ${PROJECT_NAME} PRIVATE SDKLAUNCHER )
|
||||
target_compile_definitions( ${PROJECT_NAME} PRIVATE
|
||||
"SDKLAUNCHER"
|
||||
)
|
||||
target_precompile_headers( ${PROJECT_NAME} PRIVATE
|
||||
"launcher_pch.h"
|
||||
)
|
||||
target_link_libraries( ${PROJECT_NAME} PRIVATE
|
||||
"tier0"
|
||||
"libdetours"
|
||||
"libcppkore"
|
||||
"libspdlog"
|
||||
"Rpcrt4.lib"
|
||||
)
|
||||
|
@ -3,9 +3,9 @@
|
||||
// Purpose: Launcher user interface implementation.
|
||||
//
|
||||
//=============================================================================//
|
||||
#include "core/stdafx.h"
|
||||
#include "sdklauncher.h"
|
||||
#include "launcher_pch.h"
|
||||
#include "basepanel.h"
|
||||
#include "sdklauncher.h"
|
||||
#include "utility/vdf_parser.h"
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
17
r5dev/sdklauncher/launcher_pch.h
Normal file
17
r5dev/sdklauncher/launcher_pch.h
Normal file
@ -0,0 +1,17 @@
|
||||
#pragma once
|
||||
#include "core/stdafx.h"
|
||||
|
||||
#include "thirdparty/cppnet/cppkore/Form.h"
|
||||
#include "thirdparty/cppnet/cppkore/Kore.h"
|
||||
#include "thirdparty/cppnet/cppkore/UIXTheme.h"
|
||||
#include "thirdparty/cppnet/cppkore/UIXLabel.h"
|
||||
#include "thirdparty/cppnet/cppkore/UIXListView.h"
|
||||
#include "thirdparty/cppnet/cppkore/UIXCheckBox.h"
|
||||
#include "thirdparty/cppnet/cppkore/UIXComboBox.h"
|
||||
#include "thirdparty/cppnet/cppkore/UIXTextBox.h"
|
||||
#include "thirdparty/cppnet/cppkore/UIXGroupBox.h"
|
||||
#include "thirdparty/cppnet/cppkore/UIXButton.h"
|
||||
#include "thirdparty/cppnet/cppkore/UIXRadioButton.h"
|
||||
#include "thirdparty/cppnet/cppkore/KoreTheme.h"
|
||||
|
||||
#include "launcher/launcherdefs.h"
|
@ -3,10 +3,9 @@
|
||||
// Purpose: SDK launcher implementation.
|
||||
//
|
||||
//=============================================================================//
|
||||
#include "core/stdafx.h"
|
||||
#include "launcher_pch.h"
|
||||
#include "tier0/binstream.h"
|
||||
#include "basepanel.h"
|
||||
#include "sdklauncher_const.h"
|
||||
#include "sdklauncher.h"
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
@ -1,5 +1,4 @@
|
||||
#pragma once
|
||||
#include "basepanel.h"
|
||||
#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"")
|
||||
|
||||
class CLauncher
|
||||
|
Loading…
x
Reference in New Issue
Block a user