[CMAKE]: Add support for precompiled headers (this was not fun).

[CMAKE]: Use them in RTL and CRT. Someone needs to add them to the other makefiles.

svn path=/branches/cmake-bringup/; revision=48447
This commit is contained in:
Sir Richard 2010-08-04 06:41:07 +00:00
parent 53edf4d8fa
commit d928872abe
4 changed files with 59 additions and 14 deletions

View file

@ -11,6 +11,7 @@ list(REMOVE_ITEM SOURCE ${CMAKE_CURRENT_SOURCE_DIR}/avlsupp.c
${CMAKE_CURRENT_SOURCE_DIR}/mem.c
${CMAKE_CURRENT_SOURCE_DIR}/memgen.c)
add_library(rtl ${ARCH_SOURCE} ${SOURCE})
add_library(rtl ${ARCH_SOURCE} ${SOURCE} ${CMAKE_CURRENT_SOURCE_DIR}/rtl.h.gch)
add_pch(rtl ${CMAKE_CURRENT_SOURCE_DIR}/rtl.h ${SOURCE})
add_dependencies(rtl psdk)