Basic precompiled header support for Linux/OS X. Shaves 20-30% off full rebuild time on my system.

This commit is contained in:
comex
2013-10-17 00:06:34 -04:00
parent cffe6ba3fd
commit de1773affb
11 changed files with 112 additions and 15 deletions

View File

@ -51,5 +51,4 @@ endif(WIN32)
enable_precompiled_headers(Src/stdafx.h Src/stdafx.cpp SRCS)
add_library(common STATIC ${SRCS})
target_link_libraries(common ${CMAKE_THREAD_LIBS_INIT})
add_dolphin_library(common "${SRCS}" "${CMAKE_THREAD_LIBS_INIT}")