summaryrefslogtreecommitdiff
path: root/src/mesh/assimp-master/cmake-modules/PrecompiledHeader.cmake
diff options
context:
space:
mode:
authorsanine <sanine.not@pm.me>2022-04-16 11:55:54 -0500
committersanine <sanine.not@pm.me>2022-04-16 11:55:54 -0500
commit8fb7916a0d0cb007a4c3a4e6a31af58765268ca3 (patch)
tree52b5524a94a5b04e17a1fd7f8aca988ab6d0c75f /src/mesh/assimp-master/cmake-modules/PrecompiledHeader.cmake
parentdb81b925d776103326128bf629cbdda576a223e7 (diff)
delete src/mesh/assimp-master
Diffstat (limited to 'src/mesh/assimp-master/cmake-modules/PrecompiledHeader.cmake')
-rw-r--r--src/mesh/assimp-master/cmake-modules/PrecompiledHeader.cmake25
1 files changed, 0 insertions, 25 deletions
diff --git a/src/mesh/assimp-master/cmake-modules/PrecompiledHeader.cmake b/src/mesh/assimp-master/cmake-modules/PrecompiledHeader.cmake
deleted file mode 100644
index 6af7866..0000000
--- a/src/mesh/assimp-master/cmake-modules/PrecompiledHeader.cmake
+++ /dev/null
@@ -1,25 +0,0 @@
-MACRO(ADD_MSVC_PRECOMPILED_HEADER PrecompiledHeader PrecompiledSource SourcesVar)
- IF(MSVC)
- GET_FILENAME_COMPONENT(PrecompiledBasename ${PrecompiledHeader} NAME_WE)
- SET(PrecompiledBinary "${CMAKE_CFG_INTDIR}/${PrecompiledBasename}.pch")
- SET(Sources ${${SourcesVar}})
-
- SET_SOURCE_FILES_PROPERTIES(${PrecompiledSource}
- PROPERTIES COMPILE_FLAGS "/Yc\"${PrecompiledHeader}\" /Fp\"${PrecompiledBinary}\""
- OBJECT_OUTPUTS "${PrecompiledBinary}")
-
- # Do not consider .c files
- foreach(fname ${Sources})
- GET_FILENAME_COMPONENT(fext ${fname} EXT)
- if(fext STREQUAL ".cpp")
- SET_SOURCE_FILES_PROPERTIES(${fname}
- PROPERTIES COMPILE_FLAGS "/Yu\"${PrecompiledBinary}\" /FI\"${PrecompiledBinary}\" /Fp\"${PrecompiledBinary}\""
- OBJECT_DEPENDS "${PrecompiledBinary}")
- endif(fext STREQUAL ".cpp")
- endforeach(fname)
-
- ENDIF(MSVC)
- # Add precompiled header to SourcesVar
- LIST(APPEND ${SourcesVar} ${PrecompiledSource})
-
-ENDMACRO(ADD_MSVC_PRECOMPILED_HEADER)