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

How to init visual studio project with CMake? #214

Open
ghost opened this issue Nov 5, 2016 · 1 comment
Open

How to init visual studio project with CMake? #214

ghost opened this issue Nov 5, 2016 · 1 comment

Comments

@ghost
Copy link

ghost commented Nov 5, 2016

Hello. I can't link CUDA, boost in my CMake project. How to do it?
How to enable cuda dependence in CMake?

@ddemidov
Copy link
Owner

ddemidov commented Nov 5, 2016

If you are asking how to compile the vexcl tests and examples with the CUDA backend, then you could do this by setting the VEXCL_BACKEND CMake variable, as in

cmake .. -DVEXCL_BACKEND=CUDA

And if you want to know how to do this for your own project, have a look here.

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

1 participant