mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-19 14:41:25 +00:00
#1461 only check for numbers on basename
This commit is contained in:
@@ -581,13 +581,15 @@ file(GLOB IFCPARSE_H_FILES_ALL ../src/ifcparse/*.h)
|
|||||||
file(GLOB IFCPARSE_CPP_FILES_ALL ../src/ifcparse/*.cpp)
|
file(GLOB IFCPARSE_CPP_FILES_ALL ../src/ifcparse/*.cpp)
|
||||||
|
|
||||||
foreach(s ${IFCPARSE_H_FILES_ALL})
|
foreach(s ${IFCPARSE_H_FILES_ALL})
|
||||||
if (NOT s MATCHES "[0-9]")
|
get_filename_component(p "${s}" NAME)
|
||||||
|
if (NOT "${p}" MATCHES "[0-9]")
|
||||||
list(APPEND IFCPARSE_H_FILES "${s}")
|
list(APPEND IFCPARSE_H_FILES "${s}")
|
||||||
endif()
|
endif()
|
||||||
endforeach()
|
endforeach()
|
||||||
|
|
||||||
foreach(s ${IFCPARSE_CPP_FILES_ALL})
|
foreach(s ${IFCPARSE_CPP_FILES_ALL})
|
||||||
if (NOT s MATCHES "[0-9]")
|
get_filename_component(p "${s}" NAME)
|
||||||
|
if (NOT "${p}" MATCHES "[0-9]")
|
||||||
list(APPEND IFCPARSE_CPP_FILES "${s}")
|
list(APPEND IFCPARSE_CPP_FILES "${s}")
|
||||||
endif()
|
endif()
|
||||||
endforeach()
|
endforeach()
|
||||||
|
|||||||
Reference in New Issue
Block a user