mirror of
https://github.com/Lime3DS/Lime3DS
synced 2024-12-23 07:35:16 -06:00
lime: Target now utilizes precompiled headers
Some checks are pending
lime-build / source (push) Waiting to run
lime-build / linux (appimage) (push) Waiting to run
lime-build / linux (fresh) (push) Waiting to run
lime-build / macos (arm64) (push) Waiting to run
lime-build / macos (x86_64) (push) Waiting to run
lime-build / macos-universal (push) Blocked by required conditions
lime-build / windows (msvc) (push) Waiting to run
lime-build / windows (msys2) (push) Waiting to run
lime-build / android (push) Waiting to run
lime-build / release (push) Blocked by required conditions
lime-format / clang-format (push) Waiting to run
lime-transifex / transifex (push) Waiting to run
Some checks are pending
lime-build / source (push) Waiting to run
lime-build / linux (appimage) (push) Waiting to run
lime-build / linux (fresh) (push) Waiting to run
lime-build / macos (arm64) (push) Waiting to run
lime-build / macos (x86_64) (push) Waiting to run
lime-build / macos-universal (push) Blocked by required conditions
lime-build / windows (msvc) (push) Waiting to run
lime-build / windows (msys2) (push) Waiting to run
lime-build / android (push) Waiting to run
lime-build / release (push) Blocked by required conditions
lime-format / clang-format (push) Waiting to run
lime-transifex / transifex (push) Waiting to run
This commit is contained in:
parent
36a3d92e60
commit
43c93cccb0
2 changed files with 12 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
||||||
add_executable(lime
|
add_executable(lime
|
||||||
lime.rc
|
lime.rc
|
||||||
main.cpp
|
main.cpp
|
||||||
|
precompiled_headers.h
|
||||||
)
|
)
|
||||||
|
|
||||||
set_target_properties(lime PROPERTIES OUTPUT_NAME "lime3ds")
|
set_target_properties(lime PROPERTIES OUTPUT_NAME "lime3ds")
|
||||||
|
@ -57,6 +58,10 @@ if(WIN32)
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if (LIME3DS_USE_PRECOMPILED_HEADERS)
|
||||||
|
target_precompile_headers(lime 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/lime/precompiled_headers.h
Normal file
7
src/lime/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…
Reference in a new issue