-
Notifications
You must be signed in to change notification settings - Fork 4
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
build: add scrypt-windows as submodule #43
build: add scrypt-windows as submodule #43
Conversation
45e6bb6
to
a614d7d
Compare
The
So instead of compiling the source codes into the library, it creates 0 moc files and links those into the static library. No wonder why it looked like that the static library wasn't build at all... |
a614d7d
to
1b555ee
Compare
OK, I give up for now. I'm either too dumb to understand cmake, or there is something fundamentally undocumented, f.ex. that No matter how I slice or dice it, msbuild does not add the source files I added to the static library to the build. Hence the static library is always empty and the final binary link fails. |
3be4b4a
to
440099d
Compare
Doooooohhhhh if you add an existing source file to CMake project and CMake doesn't know what it is, it silently ignores it without any warnings. Very developer friendly behavior |
03102b7
to
2ef7ba5
Compare
This is the simple approach: we know that the code from scrypt-windows repository compiles to a working static library on Windows. - add git repository barrysteyn/scrypt-windows as submodule - enable submodules checkout feature in Windows workflow - convert the information from binding.gyp to a CMakeList.txt - enable language C in project to enable CMake support for C modules - add new directory src/3rdparty/scrypt to Windows build - remove imported scrypt static library bits from Windows build - remove scypt-windows steps from Windows workflow - update build instructions accordingly
2ef7ba5
to
b7dd93c
Compare
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.
Doooooohhhhh if you add an existing source file to CMake project and CMake doesn't know what it is, it silently ignores it without any warnings. Very developer friendly behavior
☹️
Wow, indeed.
This is the simple approach: we know that the code from scrypt-windows repository compiles to a working static library on Windows.