Replies: 3 comments 9 replies
-
|
Hi @laheller, Thanks for the tip. I'll add it to the README. ;-) Maybe there is a way to add the As for the C# bindings, you might want to take a look at PR #256, which is my ongoing attempt to add a higher-level C++ API on top of the C99 one. Presumably C# is closer to C++, so you may want to bind to that rather than to the lower-level C99 API. Or, you may follow a different path for C#. As I'm no expert on C# (or anything Windows really), I leave it to you to do what you think best. In any case thank you for doing it, and I look forward to the C# bindings when they are ready! PS. I converted this to a discussion if you don't mind. |
Beta Was this translation helpful? Give feedback.
-
|
Slowly digesting your original message. Would you like to submit the P.S. I am using Eclipse CDT for the development, and I do commit the Eclipse configs for the project so that anyone else using Eclipse can have the environment readily configured for it. It would make sense to include similar ready-to-go configs for other IDEs, such as VS, also... |
Beta Was this translation helpful? Give feedback.
-
|
Hi @attipaci I just forked SuperNOVAS repo and created a new workflow to demonstrate the cmake and Visual Studio build for Windows: The workflow also provides the built Test run with the artifact is here: Another topic, the C# language bindings creation is still in progress. Should I came with a PR, once done? If yes, what repo structure you suggest? At the end the result of my work would be probably only two source files (+ a readme):
BR, Laci |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi @attipaci
Just a note to the build on Windows platforms with Visual Studio 2022 or newer:
To even easier build SuperNOVAS, from the
Developer command prompt for VSwe can run (example):cmake.exe -DBUILD_SHARED_LIBS=ON -DBUILD_EXAMPLES=ON -G "Visual Studio 17 2022" -A x64 -T v143 ..where the
-G-A-Tparameters are defining theGenerator,PlatformandToolsetrespectively and..is of course the path to the folder, where the main CMakeLists.txt file lives.By running the above command, cmake also generates a Visual Studio solution file
supernovas.slnthat can be then opened in the Visual Studio and simply execute the build. Tested withSuperNovas v1.5.1, it works perfectly: One CLI command and then one click in VS, everything is built!Additional note:
I started to create C# language bindings for the SuperNOVAS library so that it can be used on .NET platforms. Once done/tested, will let you know.
BR,
Ladislav
Beta Was this translation helpful? Give feedback.
All reactions