Skip to content

Commit

Permalink
update precompiled header list. (#1372)
Browse files Browse the repository at this point in the history
  • Loading branch information
tsteven4 authored Nov 7, 2024
1 parent 9117a3c commit 679857c
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 45 deletions.
18 changes: 14 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,22 +39,32 @@ endif()

option(GPSBABEL_ENABLE_PCH "enable precompiled headers." ON)
if (GPSBABEL_ENABLE_PCH)
# This list is from defs.h.
target_precompile_headers(gpsbabel PRIVATE
"$<$<COMPILE_LANGUAGE:CXX>:<algorithm$<ANGLE-R>>"
"$<$<COMPILE_LANGUAGE:CXX>:<cmath$<ANGLE-R>>"
"$<$<COMPILE_LANGUAGE:CXX>:<cstdarg$<ANGLE-R>>"
"$<$<COMPILE_LANGUAGE:CXX>:<cstddef$<ANGLE-R>>"
"$<$<COMPILE_LANGUAGE:CXX>:<cstdint$<ANGLE-R>>"
"$<$<COMPILE_LANGUAGE:CXX>:<cstdio$<ANGLE-R>>"
"$<$<COMPILE_LANGUAGE:CXX>:<ctime$<ANGLE-R>>"
"$<$<COMPILE_LANGUAGE:CXX>:<numbers$<ANGLE-R>>"
"$<$<COMPILE_LANGUAGE:CXX>:<optional$<ANGLE-R>>"
"$<$<COMPILE_LANGUAGE:CXX>:<utility$<ANGLE-R>>"
"$<$<COMPILE_LANGUAGE:CXX>:<QByteArray$<ANGLE-R>>"
"$<$<COMPILE_LANGUAGE:CXX>:<QDate$<ANGLE-R>>"
"$<$<COMPILE_LANGUAGE:CXX>:<QTime$<ANGLE-R>>"
"$<$<COMPILE_LANGUAGE:CXX>:<QDateTime$<ANGLE-R>>"
"$<$<COMPILE_LANGUAGE:CXX>:<QDebug$<ANGLE-R>>"
"$<$<COMPILE_LANGUAGE:CXX>:<QList$<ANGLE-R>>"
"$<$<COMPILE_LANGUAGE:CXX>:<QScopedPointer$<ANGLE-R>>"
"$<$<COMPILE_LANGUAGE:CXX>:<QString$<ANGLE-R>>"
"$<$<COMPILE_LANGUAGE:CXX>:<QStringView$<ANGLE-R>>"
"$<$<COMPILE_LANGUAGE:CXX>:<QTextCodec$<ANGLE-R>>"
"$<$<COMPILE_LANGUAGE:CXX>:<QVector$<ANGLE-R>>"
)
if(${Qt6Core_VERSION} VERSION_GREATER_EQUAL 6.5)
target_precompile_headers(gpsbabel PRIVATE
"$<$<COMPILE_LANGUAGE:CXX>:<QTimeZone$<ANGLE-R>>"
)
endif()
target_precompile_headers(gpsbabel PRIVATE
"$<$<COMPILE_LANGUAGE:CXX>:<Qt$<ANGLE-R>>"
"$<$<COMPILE_LANGUAGE:CXX>:<QtGlobal$<ANGLE-R>>"
)
Expand Down
41 changes: 0 additions & 41 deletions precompiled_headers.h

This file was deleted.

0 comments on commit 679857c

Please sign in to comment.