mirror of
https://github.com/azahar-emu/azahar.git
synced 2025-03-04 09:45:23 +01:00
citra_meta: Target now utilizes precompiled headers
This commit is contained in:
parent
023de4dd76
commit
11971d18d9
@ -1,6 +1,7 @@
|
|||||||
add_executable(citra_meta
|
add_executable(citra_meta
|
||||||
citra.rc
|
citra.rc
|
||||||
main.cpp
|
main.cpp
|
||||||
|
precompiled_headers.h
|
||||||
)
|
)
|
||||||
|
|
||||||
set_target_properties(citra_meta PROPERTIES OUTPUT_NAME "citra")
|
set_target_properties(citra_meta PROPERTIES OUTPUT_NAME "citra")
|
||||||
@ -68,6 +69,10 @@ if(WIN32)
|
|||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if (CITRA_USE_PRECOMPILED_HEADERS)
|
||||||
|
target_precompile_headers(citra_meta PRIVATE precompiled_headers.h)
|
||||||
|
endif()
|
||||||
|
|
||||||
# Bundle in-place on MSVC so dependencies can be resolved by builds.
|
# Bundle in-place on MSVC so dependencies can be resolved by builds.
|
||||||
if (ENABLE_QT AND MSVC)
|
if (ENABLE_QT AND MSVC)
|
||||||
include(BundleTarget)
|
include(BundleTarget)
|
||||||
|
7
src/citra_meta/precompiled_headers.h
Normal file
7
src/citra_meta/precompiled_headers.h
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
// Copyright Citra Emulator Project / Lime3DS Emulator Project
|
||||||
|
// Licensed under GPLv2 or any later version
|
||||||
|
// Refer to the license.txt file included.
|
||||||
|
|
||||||
|
#pragma once
|
||||||
|
|
||||||
|
#include "common/common_precompiled_headers.h"
|
Loading…
x
Reference in New Issue
Block a user