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

Document YCMEPHelper module #190

Open
traversaro opened this issue Dec 18, 2018 · 4 comments
Open

Document YCMEPHelper module #190

traversaro opened this issue Dec 18, 2018 · 4 comments
Projects

Comments

@traversaro
Copy link
Member

I think it should be sufficient to just pass the CONFIGURE_COMMAND (the one that usually is "cmake ..", BUILD_COMMAND (the one that usually is "cmake --build .") and INSTALL_COMMAND (the one that usually is cmake --build . --target INSTALL) in the call to ycm_ep_helper in the Build<package>.cmake script.

The YCMEPHelper module do not have a lot of docs, but it is just a small wrapper over the ExternalProject module, the documentation of which you can find in https://cmake.org/cmake/help/latest/module/ExternalProject.html . See the **_COMMAND documentation in that module to get more info.

@traversaro
Copy link
Member Author

cc @gabrielenava

@gabrielenava
Copy link

Thanks, this Buildxxx.cmake file worked:

include(YCMEPHelper)

ycm_ep_helper(FEX-minimize TYPE GIT
              STYLE GITHUB
              REPOSITORY rodyo/FEX-minimize.git
              TAG master
              FOLDER external
              CONFIGURE_COMMAND ""
              BUILD_COMMAND ""
              INSTALL_COMMAND "")

@traversaro traversaro changed the title Document how to add a non-CMake based package to a YCM-based superbuild Document YCMEPHelper module Dec 23, 2018
@traversaro
Copy link
Member Author

traversaro commented Dec 23, 2018

I renamed the issue as I think that this can be addressed by documenting a bit more the YCMEPHelper module, providing appropriate links to the ExternalProject docs.

@drdanz
Copy link
Member

drdanz commented Dec 26, 2018

@drdanz drdanz added this to To do in YCM 1.0.0 Mar 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
YCM 1.0.0
  
To do
Development

No branches or pull requests

3 participants