mirror of
				https://github.com/pocoproject/poco.git
				synced 2025-11-04 12:17:37 +01:00 
			
		
		
		
	GH-1167: Remove expat CPP sources from globbed C++ source file list.
This commit is contained in:
		@@ -1,8 +1,13 @@
 | 
				
			|||||||
set(LIBNAME "XML")
 | 
					set(LIBNAME "XML")
 | 
				
			||||||
set(POCO_LIBNAME "Poco${LIBNAME}")
 | 
					set(POCO_LIBNAME "Poco${LIBNAME}")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Expat CPP sources to be excluded from globbed SRCS_G
 | 
				
			||||||
 | 
					# They are added back on the list if POCO_UNBUNDLED is not set
 | 
				
			||||||
 | 
					set(EXPAT_CPP "${CMAKE_CURRENT_SOURCE_DIR}/src/xmlparse.cpp")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Sources
 | 
					# Sources
 | 
				
			||||||
file(GLOB SRCS_G "src/*.cpp")
 | 
					file(GLOB SRCS_G "src/*.cpp")
 | 
				
			||||||
 | 
					list(REMOVE_ITEM SRCS_G ${EXPAT_CPP})
 | 
				
			||||||
POCO_SOURCES_AUTO( SRCS ${SRCS_G})
 | 
					POCO_SOURCES_AUTO( SRCS ${SRCS_G})
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Headers
 | 
					# Headers
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user