[Moved] qtcreator and cuda .cu files
-
Hi, hope I'm posting to the right forum :)
I'd like to set up qtcreator projects to compile cu files with NVCC. In general everything works defining a "custom tool" in the pro file, except that I have to omit the cuda files from SOURCES, or gcc tries to compile them as well. That means that they disappear from the "sources" bin, and that I lose all the nice code following features etc. in qtcreator.
I want to have separate sources for NVCC that are still treated as part of the project. Is there any workaround for this? I hope so!
Thanks
Michael
-
http://doc.trolltech.com/4.7/qmake-environment-reference.html#customizing
http://www.qtcentre.org/wiki/index.php?title=Undocumented_qmake
Have a check here. You should modify your .pro using these instructions.
-
this link is damaged i guess
http://doc.trolltech.com/4.7/qmake-environment-reference.html#customizing