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

Adding CMakeLists.txt to increase #21

Closed
wants to merge 8 commits into from
Closed

Conversation

Sqeaky
Copy link

@Sqeaky Sqeaky commented Apr 29, 2016

This is a potential fix for #17 . I have tested several configurations for windows and Ubuntu, including static and shared library configs with Clang, GCC, MinGW and visual studio community edition.

I am quite confident this will work with any Linux that is at all adheres to the LSB, like Red hat, Fedora and less so for Gentoo, Arch (I still think it'll work).

I do not have a Mac OS X machine to test with. But I suspect that will not work because it is missing some linking options.

There are a few functions that could be implemented better for MinGW, Process::Open I pretty much implemented as No-op. It also looks like a few shortcomings in the winuser.h and winbase.h implementation in the MinGW SDK, these will likely require bugfixes in MinGW.

Here are some things that this does not address that the previous build files do:

This does not address the install process.
This does not add "d" to the name.
Mac OS X linking options and Objective-C++ options are missing.
The Peon testing tool is not included.
This removed .BIN from the executable names.
I am unsure if I am missing any msvc options.

Sqeaky added 8 commits April 29, 2016 12:05
…Ubuntu.

Though in source builds are not a good idea, I added the common CMake files and files to the .gitignore.
…nd adjusted cmake output to make it easier to read. Building with shared libraries fails in visual studio with linker errors (probably easily resolved) build with static still works.
…ng list of source files, I corrected this and added target dependent preprocessor defintions.
…e compiler warnings and provides stronger guarantees going forward and in the event of platform changes.
…f NOMINMAX, Replacing ROBOT_OS_WIN with a comiler checks where appropriate, Added linking details to CMakeLists.txt and fixed a few unique items.
@Sqeaky Sqeaky closed this May 2, 2016
@Sqeaky Sqeaky deleted the oops_dev branch May 2, 2016 17:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant