-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
CMAKE : Csharp Build Process working on Win / Mac / Linux #5046
Conversation
Add c# only test fix test name fix compile paths fix the target name Fix target name mark 2 fix the dependencies Add samples change nuget names change nuget dependencies fix if Fix system depends fix csharp binding target Fix target names fix more dependencies add nuspec to installs fix versionig add marker dependencies
Mono fix Mono Fix mono fix 3 mon + win linux fix fix nupkg lint
…generating ~ 100 tiles
lints and fixes Update cmake_builds.yml
add tests back remove the mono only build First Tests added add test dependencies Fix missing PROPERTY fix test dependencies fix path bug fix cs typo test fixes Fix GDALWarp mono fix lint fix gdal
@rouault -- there seems to be some error in the CI tests that has nothing to do with any subsystem that I have touched and did not happen in my fork using the same test - see https://github.com/OSGeo/gdal/runs/4861157262?check_suite_focus=true. Could this be transient? Other than that - as far I am concerned this PR is now working. I would propose that it should be merged. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the latest updates. A few remarks below. (I've restarted the failed build. it was a network flake)
fixes change to .exe for test fix mono path mono fixes more fixes
I confirm the charp mono tests work with stock Ubuntu 20.04. Thanks for all the work on this! |
Thanks Just a note - I will be most out of contact and certainly not able to run builds from 16 Feb for two months - so I would like to get this to the point of being merged before that. |
@rouault Looks like this addition is in a good shape to get it included, right? |
Merged. Thanks a lot ! |
What does this PR do?
Fixes the problem with building the C# bindings on Windows.
dotnet
. If it cannot finddotnet
it looks for mono.dotnet
to benet5.0
but there are compiler switches to allow other versions to be used.dotnet
, adds NuGET packages for the bindings using an OSGeo namespacexxx_csharp.dll
s and the sample binariesogrinfo.exe
has been renamedOgrInfo.exe
since it appears Cmake does not like having multiple targets with the same name. This is consistent with the other sample binary names and to keep consistencycreatedata.exe
has been renamedCreateData.exe
What are related issues/pull requests?
#4995