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

Fix windows support #29

Merged
merged 45 commits into from
Aug 8, 2016
Merged

Fix windows support #29

merged 45 commits into from
Aug 8, 2016

Conversation

Manu343726
Copy link
Owner

No description provided.

This commit also adds an option to use system installed SFML libraries
instead of building them from sources
 - CMake functions to get target include directories and other target
   properties are refactored to rely in a common
   get_target_dependencies() function that takes the full (recursive)
   list of target dependencies (Targets, binaries, etc).

 - New functions about target properties and deps: Gettings target
   binary dependencies (for example, the list of dlls the target depends
   on).
Now the target metadata JSON file is generated at build time so it has
the LOCATION key pointing to the right target runtime location
(Regardless you change he build type in VS IDE etc)
This commit introduces special handling of variadic templates so MSVC
non-compliant shit correctly resolves calls to the right base cases.
This also implied splitting the cpp::foreach() utility function into two
functions cpp::foreach() (for variadic packs) and
cpp::foreach_type<Ts...>() (For types).
The function just asked for target dependencies include dirs, missing
the include dirs of the target itself.
@Manu343726 Manu343726 force-pushed the fix-windows-support branch 2 times, most recently from 6be3f01 to 3e345af Compare August 7, 2016 23:10
@Manu343726 Manu343726 merged commit eee64e8 into master Aug 8, 2016
Manu343726 pushed a commit that referenced this pull request Aug 8, 2016
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