Visualstudio solution #517
No reviewers
Labels
No labels
bug
duplicate
enhancement
feature
help wanted
improve API
invalid
needs documentation
not-planned
rtfm
stale
support
wishlist
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
gh-libtom/libtomcrypt!517
Loading…
Reference in a new issue
No description provided.
Delete branch "FredeJ/visualstudio_solution"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Migrate the solution file to Visual Studio 15.
The goal of this is to allow libtomcrypt to be made available through vcpkg (https://github.com/microsoft/vcpkg/)
👎 While you are able to import the old format (VS2008) into newer Visual Studio (e.g. VS2015) it is not possible the other way around. I am for keeping VS2008 compatibility.
@FredeJ is it an option to use the
makefile.msvcfor your purpose?No, makefile.msvc is not what I want.
The other thing is that it is not sufficient to just save the original
.vcprojas.vcxproj. Somebody has also updatehelper.plso that the.vcxprojfile is updated when a new source file is added, deleted or renamed.I asked @FredeJ ;-)
Right, I thought that was done, but apparently it wasn't.
I will support this PR only when it keeps support for both cases:
libtomcrypt_VS2008.sln+libtomcrypt_VS2008.vcprojlibtomcrypt_VS2015.sln+libtomcrypt_VS2015.vcxproj(not sure about having .vcxproj.filters in git)But again, somebody has to fix
helper.plso that it is able to update .vcxproj.@sjaeckel
makefile.msvcseems to be able to get me basically 95% there. I was not aware ofnmakeat all but was just usingmsbuild, which failed with the older project and solution files.Now all I'm missing is figuring out how to build both debug and release, and both libtomcrypt and libtommath should be buildable with vcpkg :)
cool :)
uhm, pass in some CFLAGS and change the libname for the debug build? something like
nmake -f makefile.msvc CFLAGS="-MTd" LIBMAIN_S="tomcrypt-debug.lib"I don't run windows, so I can't tell if it's exactly like that, but that should give you a direction
Fyi, as of at least VS2022 (possibly earlier), upgrading does no longer work and its impossible to use these relict-vs solution files.
Upgrading these solution files to at least VS2010 will fix that.
View command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.