Home » U++ TheIDE » U++ TheIDE: Compiling, Linking, Debugging of your packages » How to compile non C/C++ files in an U++ project
How to compile non C/C++ files in an U++ project [message #44590] |
Sat, 11 April 2015 16:58  |
 |
koldo
Messages: 3435 Registered: August 2008
|
Senior Veteran |
|
|
Hello all
I wanted to compile non C/C++ files in an U++ project.
In my case, I have to compile ".cu" files and link them with the project.
For example, now, for demo.cu file, I have to:
- Compile it with "nvcc -c demo.cu" to get demo.obj
- Add demo.obj in U++ project libraries
- Compile it in U++
Is there any way to do it all in an U++ project.
Additionally it would be great to let U++ to highlight .cu and .cl files as .cpp files.
Best regards
Koldo
Best regards
Iñaki
|
|
|
Re: How to compile non C/C++ files in an U++ project [message #44591 is a reply to message #44590] |
Sat, 11 April 2015 18:07   |
|
Hi Koldo,
Quote:In my case, I have to compile ".cu" files and link them with the project.
For example, now, for demo.cu file, I have to:
- Compile it with "nvcc -c demo.cu" to get demo.obj
- Add demo.obj in U++ project libraries
- Compile it in U++
This should be possible with custom build step...
Quote:Additionally it would be great to let U++ to highlight .cu and .cl files as .cpp files.
You can set per file highlighting (right click on file in package -> File properties). I don't think it is possible to set this globally for all files in all packages.
Best regards,
Honza
|
|
|
|
|
Goto Forum:
Current Time: Fri May 09 20:11:16 CEST 2025
Total time taken to generate the page: 0.02038 seconds
|