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

Allow building MainNoGUI and MainGUI simultaneously #755

Merged
merged 3 commits into from Aug 7, 2014

Conversation

magcius
Copy link
Member

@magcius magcius commented Aug 6, 2014

Do some cleanups to allow this to happen. I'm going to be considerably revamping the interface here, and in order to do that, I need to make sure it's tested properly.

main_frame->m_XRRConfig->AddResolutions(retlist);
std::vector<std::string> resos;
main_frame->m_XRRConfig->AddResolutions(resos);
for (auto res = resos.begin(); res < resos.end(); res++)

This comment was marked as off-topic.

@Tilka
Copy link
Member

Tilka commented Aug 7, 2014

Needs a "remove silly comments" commit ;-)

We want to have two build targets: Main and MainNoGUI, and this code
will be linked against in both cases, so the ifdef isn't enough for
this case.

Just append to a vector of strings, and then convert it after the fact.
Restructure our build system so we have multiple targets. Right now we
only build MainNoGUI if we are using X11, since that's the only truly
supported backend: the OS X code actually doesn't compile, according to
comments made on IRC.
@lioncash
Copy link
Member

lioncash commented Aug 7, 2014

Looks good to me

@Tilka
Copy link
Member

Tilka commented Aug 7, 2014

Can't vouch for the CMake spaghetti but lgtm overall.

lioncash added a commit that referenced this pull request Aug 7, 2014
Allow building MainNoGUI and MainGUI simultaneously
@lioncash lioncash merged commit e0c5e05 into dolphin-emu:master Aug 7, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants