- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I found the dpcpp compiler was always overridden by the MSVC, when I used CMAKE (ver. 3.21.2) or CMAKE_GUI to make a project. Please take a look at the attached file. Is there a way that can handle this problem?
From some essays, it was said that the project() statement in the CMake uses MSBuild, which automatically compute the values of CMAKE_{C,CXX}_COMPILER. After tried the methods that I can think, I found the problem was still there. Thanks for feedback and helps here.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thanks for reaching out to us.
We are working on your issue internally and we will get back to you soon.
Best Regards,
Santosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In order to use CMake with DPC++ on Windows platform, two supported generators are Microsoft Visual Studio* and Make/Ninja.
Please reference this guide:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am going to close this case for now as a solution has been provided.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page