C ++ linking header and third party source
I'm trying to integrate TinyXML version 2 into a project, but since TinyXML is so tiny (ha!), It hasn't been packaged into a static or dynamic library. Only title and source are provided. I am getting linker errors because the compiler cannot find the source file to link to the header (they are in the same place).
Is there a way to link a third party source to a project without having to copy it to the local project space?
OR
Do I have to manually create a library file (containing one source file) and just use that to solve the problem (although a non-modifying source is a good reason to package it, it seems too complicated for a single file)?
[Cm. tags]
+3
source to share
3 answers