PCH and recursive dump
This commit is contained in:
@@ -52,6 +52,9 @@ target_sources(game_re PRIVATE
|
||||
# Ignore -Wformat-security
|
||||
target_compile_options(game_re PRIVATE -Wno-format-security)
|
||||
|
||||
# Ignore -Wmicrosoft-cast
|
||||
target_compile_options(game_re PRIVATE -Wno-microsoft-cast)
|
||||
|
||||
# Automatically re-run CMake if any gh_*.cxx files change
|
||||
# due to ghidra script runs
|
||||
set_property(
|
||||
@@ -59,3 +62,7 @@ set_property(
|
||||
APPEND
|
||||
PROPERTY CMAKE_CONFIGURE_DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/gh_cmake_timestamp
|
||||
)
|
||||
|
||||
target_precompile_headers(game_re PRIVATE
|
||||
"$<$<COMPILE_LANGUAGE:CXX>:${CMAKE_CURRENT_SOURCE_DIR}/r3/binders/auto_pch.cxx>"
|
||||
)
|
||||
|
1
game_re/r3/binders/auto_pch.cxx
Normal file
1
game_re/r3/binders/auto_pch.cxx
Normal file
@@ -0,0 +1 @@
|
||||
#include "auto.h"
|
Reference in New Issue
Block a user