Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues Building Fortran Projects within workspace #2231

Open
The-Lord-of-Owls opened this issue Jul 30, 2024 · 1 comment
Open

Issues Building Fortran Projects within workspace #2231

The-Lord-of-Owls opened this issue Jul 30, 2024 · 1 comment
Labels
support-request A request for help from the community

Comments

@The-Lord-of-Owls
Copy link

The-Lord-of-Owls commented Jul 30, 2024

What are you trying to do?
Trying to setup my premake 5.lua script to build an intel fortran project.

What problem are you having?
I'm getting the following Error: invalid value 'intel' for toolset

I was originally following along from this issue which solved the language problem with setting the language to Fortran. But now I'm not sure what to do about the toolset being set to intel. I can't find the UUID to do the same thing that was done with the language

What have you tried so far?
I've tried looking elsewhere, at public repos and asking chatGPT for assistance with my config. I have also tried manually searching through an already existing sln for this info that had the type of project that I'm trying to get my premake script to create

What version of Premake are you using?
premake-5.0.0-beta2

Anything else we should know?
My script is building a solution with with that will have a C++ SharedLib and a Fortran StaticLib. I also have the following in a .bat file that I'm not entirely sure how to make it work with the prior solution yet

premake5 --os=windows --file=BuildProjects.lua vs2022
premake5 --os=macosx --file=BuildProjects.lua gmake
premake5 --os=linux --file=BuildProjects.lua gmake
pause
@The-Lord-of-Owls The-Lord-of-Owls added the support-request A request for help from the community label Jul 30, 2024
@samsinsane
Copy link
Member

I'm getting the following Error: invalid value 'intel' for toolset

I was originally following along from this issue which solved the language problem with setting the language to Fortran. But now I'm not sure what to do about the toolset being set to intel. I can't find the UUID to do the same thing that was done with the language

What I provided in that issue won't allow you to generate a vfproj file, it will only allow you to include an existing one in the generated sln file. Have a look at how the D module adds support for the D language, the D toolsets and extends some actions (gmake and vs*) to support D projects.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
support-request A request for help from the community
Projects
None yet
Development

No branches or pull requests

2 participants