Skip to content

Refactor dependency management#5

Merged
seriema merged 1 commit intomasterfrom
handle-resources
May 5, 2016
Merged

Refactor dependency management#5
seriema merged 1 commit intomasterfrom
handle-resources

Conversation

@seriema
Copy link
Copy Markdown
Owner

@seriema seriema commented Apr 30, 2016

To separate the platform logic in our CMake files the 3rd party dependency files
and logic have all been moved into the dependencies/ folder. I tried creating a
library output file that could be easily included in the root CMakeLists.txt but
it was a lot more difficult than expected. Especially on Travis-CI where I gave
up because of linker order build errors that wouldn't happen on any other
platform (I gave up here: http://stackoverflow.com/a/19905704).

  • Add a CMakeLists.txt to encapsulate all dependency logic
    • Expose dependency directories through:
      • DEPENDENCIES_INCLUDES
      • DEPENDENCIES_SOURCES
      • DEPENDENCIES_LIBRARIES
  • Move Find*.cmake files into dependencies/ folder

@seriema seriema force-pushed the handle-resources branch from a01198a to 17ab61b Compare May 5, 2016 14:08
To separate the platform logic in our CMake files the 3rd party dependency files
and logic have all been moved into the dependencies/ folder. I tried creating a
library output file that could be easily included in the root CMakeLists.txt but
it was a lot more difficult than expected. Especially on Travis-CI where I gave
up because of linker order build errors that wouldn't happen on any other
platform (I gave up here: http://stackoverflow.com/a/19905704).

* Add a CMakeLists.txt to encapsulate all dependency logic
** Expose dependency directories through:
*** DEPENDENCIES_INCLUDES
*** DEPENDENCIES_SOURCES
*** DEPENDENCIES_LIBRARIES
* Move Find*.cmake files into dependencies/ folder
@seriema seriema force-pushed the handle-resources branch from 17ab61b to 89c91ba Compare May 5, 2016 14:14
@seriema seriema merged commit 50ae124 into master May 5, 2016
@seriema seriema deleted the handle-resources branch May 5, 2016 14:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant