Skip to content
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

stored hashes as saved field #1615

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ cmake-build-debug/*

# Compiled MEX binaries (all platforms)
# *.mex* # commented out for now - uncomment when distribution channel is up
*.mexw64
/_test/test_spinw_integration

### Built user documentation ###
Expand Down
1 change: 1 addition & 0 deletions _LowLevelCode/cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ else()
endif()

set(MEX_FUNCTIONS
"GetMD5"
"cpp_communicator"
"get_ascii_file"
"serialiser"
Expand Down
24 changes: 24 additions & 0 deletions _LowLevelCode/cpp/GetMD5/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
set(
SRC_FILES
"GetMD5.c"
)

set(
HDR_FILES
)

if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
# On GCC you must pass OpenMP_CXX_FLAGS to the linker
set(LIBS "${OpenMP_CXX_FLAGS}")
endif()

set(MEX_NAME "GetMD5")
pace_add_mex(
NAME "${MEX_NAME}"
SRC "${SRC_FILES}" "${HDR_FILES}"
LINK_TO "${LIBS}"
)
if(${OPENMP_FOUND})
target_compile_options("${MEX_NAME}" PRIVATE ${OpenMP_CXX_FLAGS})
target_link_options("${MEX_NAME}" PRIVATE ${OpenMP_EXE_LINKER_FLAGS})
endif()
Loading