Pre-compiled headers do not work.
This commit is contained in:
parent
328d186eb5
commit
e338f7e6e9
@ -9,12 +9,6 @@ find_package(Boost REQUIRED COMPONENTS stacktrace_addr2line)
|
|||||||
|
|
||||||
include_directories(${Boost_INCLUDE_DIR})
|
include_directories(${Boost_INCLUDE_DIR})
|
||||||
|
|
||||||
set(PRECOMPILE_HEADERS
|
|
||||||
include/gui/gui.hpp
|
|
||||||
include/gui/gui_data.hpp
|
|
||||||
include/gui/window.hpp
|
|
||||||
)
|
|
||||||
|
|
||||||
set(SOURCE_HEADERS
|
set(SOURCE_HEADERS
|
||||||
include/imgui/imconfig.h
|
include/imgui/imconfig.h
|
||||||
include/imgui/imgui.h
|
include/imgui/imgui.h
|
||||||
@ -168,7 +162,6 @@ set_target_properties(glfw PROPERTIES
|
|||||||
|
|
||||||
set_target_properties(spdlog PROPERTIES UNITY_BUILD ON)
|
set_target_properties(spdlog PROPERTIES UNITY_BUILD ON)
|
||||||
|
|
||||||
target_precompile_headers(BillySheet PRIVATE ${PRECOMPILE_HEADERS})
|
|
||||||
target_compile_definitions(BillySheet PRIVATE
|
target_compile_definitions(BillySheet PRIVATE
|
||||||
$<$<CONFIG:Debug>:_GLIBCXX_DEBUG>
|
$<$<CONFIG:Debug>:_GLIBCXX_DEBUG>
|
||||||
$<$<CONFIG:Debug>:SPDLOG_ACTIVE_LEVEL=SPDLOG_LEVEL_DEBUG>
|
$<$<CONFIG:Debug>:SPDLOG_ACTIVE_LEVEL=SPDLOG_LEVEL_DEBUG>
|
||||||
|
Loading…
Reference in New Issue
Block a user