Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
mahrud committed Jan 20, 2021
1 parent edabb1e commit ba2c0ba
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions M2/Macaulay2/m2/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
## This directory contains the rules for building M2-core

set(CORE_DIR ${M2_DIST_PREFIX}/${M2_INSTALL_DATADIR}/Core)
set(CORE_TESTS ${M2_DIST_PREFIX}/${M2_INSTALL_DOCDIR}/Core/tests)
set(M2_ARGS -q --silent --stop -e errorDepth=0 --no-preload --no-tvalues)

# List of Core sources
Expand Down Expand Up @@ -29,4 +30,8 @@ foreach(filename IN LISTS M2LIST ITEMS
file(COPY ${filename} DESTINATION ${CORE_DIR})
endforeach()

## Copy Core tests from Macaulay2/tests/normal to share/doc/Macaulay2/Core/tests
file(COPY ${CMAKE_SOURCE_DIR}/Macaulay2/tests/normal/ DESTINATION ${CORE_TESTS}
FILES_MATCHING PATTERN "*.m2")

# TODO: handle Style here.

0 comments on commit ba2c0ba

Please sign in to comment.