lanl / LaGriT

Los Alamos Grid Toolbox (LaGriT) is a library of user callable tools that provide mesh generation, mesh optimization and dynamic mesh maintenance in two and three dimensions.
https://lanl.github.io/LaGriT/
Other
116 stars 48 forks source link

project generated by cmake can't work in windows+visual studio+intel fortran compiler #244

Open TangLaoya opened 2 years ago

TangLaoya commented 2 years ago

Dear developers,

Thanks for providing so powerful LaGriT mesher. I am trying to build the code in windows+Visual studio+intel fortran compiler. However, I found that the project generated by cmake can't work in windows+visual studio+intel fortran compiler because that visual studio + intel fortran compiler can't compiler fortran in C++ project. I separated C code and Fortran code into two projects and built the projects again, it works. So I suggest to modify the CMakeLists.txt to let the cmake create the seperated projects for C code and Fortran code.

Thanks, Tang Laoya