Skip to content

Commit

Permalink
English:
Browse files Browse the repository at this point in the history
1.Algorithm fix and update changes. (If you find any problems on the way to use this version, feel free to give me feedback.)

2.Fix errors and missing files, Code comment documentation generation and miscellaneous code fixes

Chinese:

1.算法修复和更新更改 (如果你在使用这个版本的途中发现任何问题,欢迎跟我反馈)

2.修复错误和丢失的文件, 代码注释文档生成和杂项代码修复
  • Loading branch information
Twilight-Dream-Of-Magic committed Apr 6, 2023
1 parent 404b0d5 commit 99bc411
Show file tree
Hide file tree
Showing 190 changed files with 93,685 additions and 1,017 deletions.
11 changes: 6 additions & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,15 @@ project (TDOM-EncryptOrDecryptFile-Reborn)

set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)
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
src/Main.cpp
src/IsFor_EODF_Reborn.hpp
)

add_subdirectory(${PROJECT_SOURCE_DIR}/extra/mio)
Expand All @@ -29,11 +30,11 @@ else()
endif()
endif()

add_executable(TDOM-EncryptOrDecryptFile-Reborn source-code/Main.cpp)
add_executable(${PROJECT_NAME} source-code/Main.cpp)

target_link_libraries(TDOM-EncryptOrDecryptFile-Reborn PRIVATE Threads::Threads)
target_link_libraries(${PROJECT_NAME} PRIVATE Threads::Threads)

target_include_directories(TDOM-EncryptOrDecryptFile-Reborn
target_include_directories(${PROJECT_NAME}
PRIVATE ${PROJECT_SOURCE_DIR}/include
PRIVATE ${PROJECT_SOURCE_DIR}/extra/mio/include
PRIVATE ${PROJECT_SOURCE_DIR}/extra/mio/single_include
Expand Down
2 changes: 1 addition & 1 deletion build-project.bat
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ IF NOT EXIST ".\build-project" (

CD /d ".\build-project"

cmake -S ..\ -B .
cmake -S ..\ -B . -G "MinGW Makefiles"

IF EXIST ".\Makefile" (
make help
Expand Down
7 changes: 4 additions & 3 deletions build-project.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ cd "./build-project"
#cmake -S is SourceCodePath
#cmake -B is BuildScriptPath

sudo cmake -S ../ -B .
sudo make help
sudo make TDOM-EncryptOrDecryptFile-Reborn
cmake -S ..\ -B . -G "Unix Makefiles"

make help
make TDOM-EncryptOrDecryptFile-Reborn
Loading

0 comments on commit 99bc411

Please sign in to comment.