Skip to content

Commit

Permalink
[This is a fix change]
Browse files Browse the repository at this point in the history
First, fix the legacy bugs
Then, make the source code about generation random number seeds.
Also, fixed compiler errors on posix linux systems, and my build project scripts
It also refactored the error logic of the Cryptograph::DataPermutation::HexadecimalStringCoder class to make it easier to provide encoding and decoding methods for the data in other modules.
  • Loading branch information
Twilight-Dream-Of-Magic committed Sep 12, 2022
1 parent 596d2be commit fc32f21
Show file tree
Hide file tree
Showing 27 changed files with 1,268 additions and 930 deletions.
8 changes: 4 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ set(CMAKE_BUILD_TYPE release)
# set(THREADS_PREFER_PTHREAD_FLAG ON)
find_package(Threads REQUIRED)

#set(SOURCES
# src/Main.cpp
# src/IsFor_EODF_Reborn.hpp
#)
set(SOURCES
src/Main.cpp
src/IsFor_EODF_Reborn.hpp
)

add_subdirectory(${PROJECT_SOURCE_DIR}/extra/mio)

Expand Down
7 changes: 4 additions & 3 deletions build-project.bat
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,13 @@ IF NOT EXIST ".\build-project" (

CD /d ".\build-project"

cmake ..
cmake -S ..\ -B .

IF EXIST ".\Makefile" (
make .
make help
make TDOM-EncryptOrDecryptFile-Reborn
) ELSE (
msbuild TDOM-EncryptOrDecryptFile-Reborn.sln
)

PAUSE
PAUSE
11 changes: 8 additions & 3 deletions build-project.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,16 @@

# --parents

if [ -d "./build-project"];
if [ -d "./build-project" ];
then
mkdir --verbose "./build-project"
fi

cd "./build-project"
cmake ../CMakeLists.txt
make .

#cmake -S is SourceCodePath
#cmake -B is BuildScriptPath

sudo cmake -S ../ -B .
sudo make help
sudo make TDOM-EncryptOrDecryptFile-Reborn
Loading

0 comments on commit fc32f21

Please sign in to comment.