I am developing on an old legacy code in Fortran, and I am trying to implement unit testing to enable a more secure development environment. From all the options given in the Fortran Wiki on this page, I evaluated FyTest would be the most suitable one.
However, to automatically run the tests, it needs a CMake build instruction, which currently I don't have installed on the company computer (I could ask for its necessity, but that is a long and tiresome process I am trying to avoid). The company software for development is Microsoft Visual Studio (version 2010). Is there a way "native" to Visual Studio for running FyTest? I noticed that creating a project in Visual Studio creates a "solution file" (.sln
), but I don't know if it is possible to adapt it to do the same work as CMake would do...
CodePudding user response:
There is no native support for FyTest is VS2010, nor in any other VS version. Your best option would be bundeling the FyTest CMakeLists.txt
into your CMake project (there is no direct dependency between your selected IDE and the CMake project for that matter).