CMakePCHCompiler icon indicating copy to clipboard operation
CMakePCHCompiler copied to clipboard

no linux clang support?

Open ericwomer opened this issue 9 years ago • 2 comments

Will the Linux-GNU-CXXPCH work with clang or is there a reason you didn't create a file for clang on linux?

ericwomer avatar Mar 14 '16 18:03 ericwomer

There's no reason no to support it, it is more due to limited work force behind this project 🤓 Feel free to submit PR with Platform/Linux-Clang-C/CXXPCH.cmake stubs.

nanoant avatar Jul 26 '18 10:07 nanoant

I see code that looks like this:

	if(NOT MSVC AND
		NOT CMAKE_COMPILER_IS_GNU${lang} AND
		NOT CMAKE_${lang}_COMPILER_ID STREQUAL "GNU" AND
		NOT CMAKE_${lang}_COMPILER_ID STREQUAL "Clang" AND
		NOT CMAKE_${lang}_COMPILER_ID STREQUAL "AppleClang"
		)
		message(WARNING
			"Precompiled headers not supported for ${CMAKE_${lang}_COMPILER_ID}"
			)
		return()
	endif()

Is it possible this can be Closed?

m-7761 avatar Jul 27 '18 05:07 m-7761