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

@ -61,8 +61,7 @@ if(LIBAV_FOUND OR WIN32)
set(SRCS ${SRCS} Src/AVIDump.cpp)
endif()
add_library(videocommon STATIC ${SRCS})
target_link_libraries(videocommon ${LIBS})
add_dolphin_library(videocommon "${SRCS}" "${LIBS}")
if(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
if(LIBAV_FOUND)