Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can you use Xerces-C as submodule if CMAKE did not find Xerces-C? #18

Open
dogod621 opened this issue May 28, 2019 · 0 comments
Open

Can you use Xerces-C as submodule if CMAKE did not find Xerces-C? #18

dogod621 opened this issue May 28, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@dogod621
Copy link

dogod621 commented May 28, 2019

I am working with e57 file format and PCL:
https://github.com/dogod621/E57Converter

but I do not like to install a lot of dependency library when building the project,
so I use Xerces-C and libE57Format as submodules.

But I need to create a weird FindXercesC.cmake to achieve this:
(because libE57Format cmakeList will trying to find XercesC)

FindXercesC.cmake

# Just for correctlly compile libE57Format, replace original FindXercesC
set ( XercesC_FOUND True )
set ( XercesC_INCLUDE_DIR 
	"${CMAKE_SOURCE_DIR}/Xerces-C/src/" 
	"${CMAKE_BINARY_DIR}/Xerces-C/src/")

Is using Xerces-C as a submodule make sense?
If that make sense, can you make Xerces-C as submodule if CMAKE did not find Xerces-C?
Please~~~ So I can remove that weird FindXercesC.cmake.... @@...

@dogod621 dogod621 changed the title Can make Xerces-C used as submodules if CMAKE did not find Xerces-C Can make Xerces-C used as submodules if CMAKE did not find Xerces-C? May 28, 2019
@dogod621 dogod621 changed the title Can make Xerces-C used as submodules if CMAKE did not find Xerces-C? Can you make Xerces-C a submodules if CMAKE did not find Xerces-C? May 28, 2019
@dogod621 dogod621 changed the title Can you make Xerces-C a submodules if CMAKE did not find Xerces-C? Can you use Xerces-C as submodules if CMAKE did not find Xerces-C? May 28, 2019
@dogod621 dogod621 changed the title Can you use Xerces-C as submodules if CMAKE did not find Xerces-C? Can you use Xerces-C as submodule if CMAKE did not find Xerces-C? May 28, 2019
@asmaloney asmaloney added the enhancement New feature or request label May 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants