]> OCCT Git - occt-copy.git/commitdiff
0031888: Configuration, qmake - linkage error due to missing .cpp file in TKMesh
authorkgv <kgv@opencascade.com>
Thu, 29 Oct 2020 14:18:10 +0000 (17:18 +0300)
committerbugmaster <bugmaster@opencascade.com>
Thu, 29 Oct 2020 16:04:46 +0000 (19:04 +0300)
OccToolkit.pri now handles also .cpp file extension.

adm/qmake/OccToolkit.pri

index 7d59a29ae3251b473dafca3c8d2e3bc394d5abaf..abe95b51d3ea244084a30ed1af11e8103d419b4f 100644 (file)
@@ -77,8 +77,8 @@ for (aCfgIter, CONFIG) {
 # Define the list of standard OCCT file extensions
 aHxxRegex = ^.*\.(hxx|h|lxx|gxx)$
 aPxxRegex = ^.*\.(pxx)$
-aCxxRegex = ^.*\.(cxx|c)$
-mac { aCxxRegex = ^.*\.(cxx|c|m|mm)$ }
+aCxxRegex = ^.*\.(cxx|cpp|c)$
+mac { aCxxRegex = ^.*\.(cxx|cpp|c|m|mm)$ }
 
 # Auxiliary function for probing file extension
 defineTest (occCheckExtension) {