mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-25 19:55:50 +00:00
[Android] Fix PCH build. Clean up DolphinWX cmake file a little bit. Modify our android cmake toolchain file to make the default build location not be source root, because that is stupid.
This commit is contained in:
parent
2e983071c5
commit
58d42f43e3
3 changed files with 10 additions and 18 deletions
|
@ -2,7 +2,11 @@ set(CMAKE_FAKELANG_CREATE_STATIC_LIBRARY "touch <TARGET>")
|
|||
if(ENABLE_PCH)
|
||||
# This is actually a .h file, but trick cmake into compiling it as a source file
|
||||
set(pch_out_filename "${CMAKE_CURRENT_BINARY_DIR}/CMakeFiles/pch.dir/pch.h")
|
||||
set(pch_lib_filename "${CMAKE_CURRENT_BINARY_DIR}/libpch.a")
|
||||
if (ANDROID)
|
||||
set(pch_lib_filename "${LIBRARY_OUTPUT_PATH}/libpch.a")
|
||||
else()
|
||||
set(pch_lib_filename "${CMAKE_CURRENT_BINARY_DIR}/libpch.a")
|
||||
endif()
|
||||
set(pch_src_filename "${CMAKE_CURRENT_SOURCE_DIR}/pch.h")
|
||||
|
||||
if(APPLE)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue