Fix cmake build

- update CMakeLists.txt to contain latest changes sha1 and sha512.cpp
- fixed uppercase issue on cross platform build with mingw on linux

Close #13865
pull/13875/head
Christian Grasser 2023-07-06 00:10:36 +02:00 committed by Don Ho
parent 0786dc0adc
commit d6bdc5d3f8
2 changed files with 9 additions and 1 deletions

View File

@ -57,7 +57,9 @@ SET(projIncludDir ../../scintilla/include/
./WinControls/FileBrowser/ ./WinControls/FileBrowser/
./WinControls/ReadDirectoryChanges/ ./WinControls/ReadDirectoryChanges/
./MISC/md5/ ./MISC/md5/
./MISC/sha1/
./MISC/sha2/ ./MISC/sha2/
./MISC/sha512/
./WinControls/PluginsAdmin/ ./WinControls/PluginsAdmin/
./json/) ./json/)
@ -67,7 +69,10 @@ SET(src_files
./DarkMode/DarkMode.cpp ./DarkMode/DarkMode.cpp
./MISC/Common/verifySignedfile.cpp ./MISC/Common/verifySignedfile.cpp
./MISC/md5/md5Dlgs.cpp ./MISC/md5/md5Dlgs.cpp
./MISC/sha1/calc_sha1.cpp
./MISC/sha1/sha1.cpp
./MISC/sha2/sha-256.cpp ./MISC/sha2/sha-256.cpp
./MISC/sha512/sha512.cpp
./NppDarkMode.cpp ./NppDarkMode.cpp
./MISC/Process/Processus.cpp ./MISC/Process/Processus.cpp
./WinControls/AboutDlg/AboutDlg.cpp ./WinControls/AboutDlg/AboutDlg.cpp
@ -205,7 +210,10 @@ SET(include_files
./MISC/md5/md5.h ./MISC/md5/md5.h
./MISC/md5/md5Dlgs.h ./MISC/md5/md5Dlgs.h
./MISC/md5/md5Dlgs_rc.h ./MISC/md5/md5Dlgs_rc.h
./MISC/sha1/calc_sha1.h
./MISC/sha1/sha1.h
./MISC/sha2/sha-256.h ./MISC/sha2/sha-256.h
./MISC/sha512/sha512.h
./NppDarkMode.h ./NppDarkMode.h
./ScintillaComponent/columnEditor_rc.h ./ScintillaComponent/columnEditor_rc.h
./ScintillaComponent/FindReplaceDlg_rc.h ./ScintillaComponent/FindReplaceDlg_rc.h

View File

@ -14,7 +14,7 @@
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>. // along with this program. If not, see <https://www.gnu.org/licenses/>.
#include <Windows.h> #include <windows.h>
#include <wincrypt.h> #include <wincrypt.h>
#include "sha512.h" #include "sha512.h"