cuda_wrap_srcs error

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

cuda_wrap_srcs error

Ajay Panyala-2
Hello,

I am trying to compile a simple cuda program to an object file with "cuda_wrap_srcs" using the following CMakeLists.txt:

cmake_minimum_required(VERSION 3.7 FATAL_ERROR)
project (TEST C CXX)
include(FindCUDA)
cuda_wrap_srcs(hello OBJ hello_test hello-world.cu OPTIONS -O3)

I see the following error: https://paste.ee/p/8XaH1

I am not sure what I am missing in the call to cuda_wrap_srcs.

Thanks
Ajay


--

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
https://cmake.org/mailman/listinfo/cmake