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

Added support for CMake toolchain independent build framework #2

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

Conversation

evilrix
Copy link

@evilrix evilrix commented Jan 30, 2014

CMake will automatically generate the correct Visual Studio solution and project files for your installed compiler. It allows you to create the project in a toolchain agnostic manner. I can also be used to build on other platforms (such as Mac of Linux).

This change adds support for CMake, fixes an issue with ssize_t not being defined and removes the existing 2010 project file as it's no longer necessary.

I hope this change proves useful to the project.

Thanks.

The InitOnceExecuteOnce function doesn't exist on Windows XP/Server 2003. It is
used to lazy initialise on first use. Whilst it is an elegant solution its
benefit in leveldb is negligable. I've replace it with a Meyer's Singleton that
is used to init the global at runtime rather than on first use. This loses the
lazy initialisation but gains the benefit of working on all flavours of
Windows.
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