mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-05 13:26:21 +00:00
Change some .C -> .cpp
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20789 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
4ad8feb462
commit
e7d203167a
@ -174,14 +174,14 @@ add_definitions(-DBOOST_USER_CONFIG="<config.h>")
|
||||
if(MSVC AND NOT disable-pch)
|
||||
configure_file(${CMAKE_SOURCE_DIR}/pcheaders.h
|
||||
${CMAKE_BINARY_DIR}/pcheaders.h)
|
||||
configure_file(${CMAKE_SOURCE_DIR}/config.C.cmake
|
||||
${CMAKE_BINARY_DIR}/config_pch.C)
|
||||
configure_file(${CMAKE_SOURCE_DIR}/config.cpp.cmake
|
||||
${CMAKE_BINARY_DIR}/config_pch.cpp)
|
||||
macro(lyx_add_msvc_pch name_)
|
||||
set_source_files_properties(${${name_}_sources} PROPERTIES
|
||||
COMPILE_FLAGS "/Yuconfig.h /Fp\$(IntDir)/config.pch")
|
||||
set_source_files_properties(${CMAKE_BINARY_DIR}/config_pch.C PROPERTIES
|
||||
set_source_files_properties(${CMAKE_BINARY_DIR}/config_pch.cpp PROPERTIES
|
||||
COMPILE_FLAGS "/Ycconfig.h /Fp\$(IntDir)/config.pch")
|
||||
set(${name_}_sources ${${name_}_sources} ${CMAKE_BINARY_DIR}/config_pch.C
|
||||
set(${name_}_sources ${${name_}_sources} ${CMAKE_BINARY_DIR}/config_pch.cpp
|
||||
${CMAKE_BINARY_DIR}/pcheaders.h)
|
||||
add_definitions(/DLYX_ENABLE_PCH)
|
||||
endmacro(lyx_add_msvc_pch)
|
||||
|
Loading…
Reference in New Issue
Block a user