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

CMAKE_BUILD_TYPE not in use? #444

Closed
RanzQ opened this issue May 14, 2015 · 2 comments
Closed

CMAKE_BUILD_TYPE not in use? #444

RanzQ opened this issue May 14, 2015 · 2 comments

Comments

@RanzQ
Copy link

RanzQ commented May 14, 2015

I tried to build as Release on Windows, but cmake says:

CMake Warning: Manually-specified variables were not used by the project: CMAKE_BUILD_TYPE

I'm not so familiar with cmake but should I be able to build Release somehow? Debug build works.

@piedar
Copy link
Contributor

piedar commented May 14, 2015

If you're building with Visual Studio, you must specify the config at build time. So either switch to Release config inside Visual Studio or build from command line like

cmake --build {BUILD_DIR} --config Release

@RanzQ
Copy link
Author

RanzQ commented May 14, 2015

Ok, thanks. I figured it out at some point how to change it in VS.

@RanzQ RanzQ closed this as completed May 14, 2015
Naegolus pushed a commit to NoOrientationProgramming/ProcessingBuildTest that referenced this issue Mar 2, 2024
enzbus added a commit to enzbus/project_euromir that referenced this issue May 19, 2024
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

No branches or pull requests

2 participants