From f1fe73d1909a2448a004a88362a1a532d0d4f7c3 Mon Sep 17 00:00:00 2001 From: sanine Date: Sun, 12 Feb 2023 23:53:22 -0600 Subject: switch to tinyobj and nanovg from assimp and cairo --- libs/assimp/cmake-modules/PrecompiledHeader.cmake | 25 ----------------------- 1 file changed, 25 deletions(-) delete mode 100644 libs/assimp/cmake-modules/PrecompiledHeader.cmake (limited to 'libs/assimp/cmake-modules/PrecompiledHeader.cmake') diff --git a/libs/assimp/cmake-modules/PrecompiledHeader.cmake b/libs/assimp/cmake-modules/PrecompiledHeader.cmake deleted file mode 100644 index 6af7866..0000000 --- a/libs/assimp/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) -- cgit v1.2.1