Lines Matching full:_input
10 # ADD_PRECOMPILED_HEADER _targetName _input _dowarn
11 # ADD_PRECOMPILED_HEADER_TO_TARGET _targetName _input _pch_output_to_use _dowarn
12 # ADD_NATIVE_PRECOMPILED_HEADER _targetName _input _dowarn
13 # GET_NATIVE_PRECOMPILED_HEADER _targetName _input
121 MACRO(_PCH_GET_COMPILE_COMMAND out_command _input _output)
123 FILE(TO_NATIVE_PATH ${_input} _native_input)
132 ${CMAKE_CXX_COMPILER} ${pchsupport_compiler_cxx_arg1} ${_compile_FLAGS} -x c++-header -o ${_output} ${_input}
136 ${CMAKE_CXX_COMPILER} ${_compile_FLAGS} -x c++-header -o ${_output} ${_input}
141 SET(_dummy_str "#include <${_input}>")
180 MACRO(GET_PRECOMPILED_HEADER_OUTPUT _targetName _input _output)
182 GET_FILENAME_COMPONENT(_name ${_input} NAME)
183 GET_FILENAME_COMPONENT(_path ${_input} PATH)
186 ENDMACRO(GET_PRECOMPILED_HEADER_OUTPUT _targetName _input)
189 MACRO(ADD_PRECOMPILED_HEADER_TO_TARGET _targetName _input _pch_output_to_use )
193 GET_FILENAME_COMPONENT(_name ${_input} NAME)
226 MACRO(ADD_PRECOMPILED_HEADER _targetName _input)
243 GET_FILENAME_COMPONENT(_name ${_input} NAME)
244 GET_FILENAME_COMPONENT(_path ${_input} PATH)
245 GET_PRECOMPILED_HEADER_OUTPUT( ${_targetName} ${_input} _output)
247 _PCH_WRITE_PCHDEP_CXX(${_targetName} "${_input}" _pch_dephelp_cxx)
249 ADD_LIBRARY(${_targetName}_pch_dephelp STATIC "${_pch_dephelp_cxx}" "${_input}" )
270 #message("COMMAND ${CMAKE_CXX_COMPILER} ${_compile_FLAGS} -x c++-header -o ${_output} ${_input}")
274 COMMAND ${CMAKE_COMMAND} -E copy "${_input}" "${CMAKE_CURRENT_BINARY_DIR}/${_name}" # ensure same directory! Required by gcc
275 DEPENDS "${_input}"
278 #message("_command ${_input} ${_output}")
286 DEPENDS "${_input}"
291 ADD_PRECOMPILED_HEADER_TO_TARGET(${_targetName} ${_input} ${_output} ${_dowarn})
301 MACRO(GET_NATIVE_PRECOMPILED_HEADER _targetName _input)
304 set(_dummy_str "#include \"${_input}\"\n")
318 MACRO(ADD_NATIVE_PRECOMPILED_HEADER _targetName _input)
337 SET(newProperties "${oldProps} /Yu\"${_input}\" /FI\"${_input}\"")
341 SET_SOURCE_FILES_PROPERTIES(${${_targetName}_pch} PROPERTIES COMPILE_FLAGS "${oldProps} /Yc\"${_input}\"")
350 GET_FILENAME_COMPONENT(fullPath ${_input} ABSOLUTE)
358 #ADD_PRECOMPILED_HEADER(${_targetName} ${_input} ${_dowarn})