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

Add install target for Linux and Mac #206

Open
wants to merge 26 commits into
base: master
Choose a base branch
from
Open

Add install target for Linux and Mac #206

wants to merge 26 commits into from

Conversation

kuzi117
Copy link
Contributor

@kuzi117 kuzi117 commented Nov 25, 2017

This addresses #90.

Some tldr to begin:

  • This isn't perfect.
  • It doesn't support Windows (very well).
  • There are a few problems that I've addressed in CMake install #90 with exporting targets. People who are manually linking against this won't have a problem, people who are using cmake may be irritated.
  • Updates must be made to both civetweb and protobuff before accepting this.

I've addressed all of this fairly in depth in #90 except for maybe Windows support. It does build and it does install, but I'm just not sure it does them well. I can explain more if necessary.

Civetweb needs to pull in the changes I made to allow disabling compiling the executable (PR and merge commit).

Protobuf needs to be brought up to date with at least this commit.

I haven't actively touched this in a while. I did recompile both this fork and my project that used it as a target and they both worked so I can confirm this works for at least Ubuntu. I expect it to still be working on Mac but if someone wants to confirm for me, please be my guest. I'll answer any other questions as I can.

kuzi117 and others added 23 commits August 18, 2017 00:23
Still needed: the SC2APIConfig.cmake.

I'm not particularly satisfied with the way the protocol headers are installed.
It might be better if they were at a subdirectory, but that means that their
internal includes need to be changed during protoc generation.
All that's missing is fixing the export set problem.
…riate. This cleans up a lot of the destructors as well.
…ctored thread vector setup to construct the thread in-place within the vector.
Conflicts:
	contrib/civetweb
	src/CMakeLists.txt
	src/sc2api/sc2_coordinator.cc
	src/sc2api/sc2_replay_observer.cc
@kuzi117
Copy link
Contributor Author

kuzi117 commented Nov 25, 2017

Scratch that. I need to do some updates apparently. I'll leave this here as a promise to get it updated soon.

@kuzi117
Copy link
Contributor Author

kuzi117 commented Nov 25, 2017

Found and fixed. Hopefully there's no more hiccups.

@AnthonyBrunasso
Copy link
Contributor

This is a bit to review; I'll look into it later today. Thank you! Sorry for the delayed response, things have been busy on our end.

@kuzi117
Copy link
Contributor Author

kuzi117 commented Nov 29, 2017

Honestly, it's been more delayed from my end, just sitting there for a couple months, so I can hardly blame you. It might be worth looking at #90 partly to understand some of the issues that are present in this (and would be in any similar pull request) and partly just because it's been there a while.

@herodrigues
Copy link
Contributor

@AnthonyBrunasso any progress on this?

@kuzi117
Copy link
Contributor Author

kuzi117 commented Apr 14, 2018

I'll check in on this failure soon.

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.

4 participants