General > General Programming

Setting up c++ build for a Intel oneAPI c/c++ project

(1/1)

mwindham:
I was trying to set up a c/c++ project for Intel oneAPI 2024.2 and made a few hacks like running vs from a command prompt that had sourced the Intel  /opt/intel/oneapi/2024.2/oneapi-vars.sh, and got icpx to compile a (project name).cpp as a tool. But then I thought this was looking more like a hack and not a proper way to set up a new project build. General guidance needed for good practice as I will need to set up Intel fortran ifx as well?

mwindham:
Would creating a template copy from "other c/c++" and making changes be the better way?

mwindham:
One thing I did in Windows and VS2022 is just create the project there and then open solution with Slickedit. Not useful for Linux, though

Graeme:
Not exactly sure what you're doing but I've noticed that people sometimes edit the project .vpj file directly to achieve certain things, e.g.
https://community.slickedit.com/index.php/topic,11500.0.html

fryremote:

--- Quote from: mwindham on July 22, 2024, 07:46:54 PM ---I was trying to set up a c/c++ project for Intel oneAPI 2024.2 and made a few hacks like running vs from a command prompt that had sourced the Intel  /opt/intel/oneapi/2024.2/oneapi-vars.sh, and got icpx to compile a (project name).cpp as a tool. But then I thought this was looking more like a hack and not a proper way to set up a new project build. General guidance needed for good practice as I will need to set up Intel fortran ifx as well? slice master

--- End quote ---
Try to find the <Files AutoFolders="DirectoryView"> tag within your project file - you'll notice several <Folder Name="my_folder"> tags nested within. Remove the undesired folder start tags and their corresponding end-tags (i.e. </Folder>) to customize your project's Directory View in the Projects pane. 

Navigation

[0] Message Index

Go to full version