Skip to content

Instantly share code, notes, and snippets.

@tyoc213
Created September 23, 2013 23:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tyoc213/6678572 to your computer and use it in GitHub Desktop.
Save tyoc213/6678572 to your computer and use it in GitHub Desktop.
downloading and geting where build for debug and release are located?
ExternalProject_Add(project_glfw
URL https://github.com/glfw/glfw/archive/3.0.3.zip
LOG_DOWNLOAD 1
LOG_UPDATE 1
LOG_CONFIGURE 1
LOG_BUILD 1
LOG_TEST 1
LOG_INSTALL 1
)
ExternalProject_Get_Property(project_glfw install_dir)
include_directories(${install_dir}/src/project_glfw/include)
link_directories(${install_dir}/src/project_glfw/src/Debug)
@tyoc213
Copy link
Author

tyoc213 commented Sep 24, 2013

I just needed to add it as a dependency on the target, that will trigger the download, if not, nothing will happen alone.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment