-
Notifications
You must be signed in to change notification settings - Fork 36
/
Copy pathCMakeLists.txt
18 lines (17 loc) · 1006 Bytes
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Used for configuring experimental setup. Run 'make run-ull' from build
# directory to configure the setup for expirmenting with code in run-poc.
# NOTE: The order of the command matters, so test after making changes.
ADD_CUSTOM_TARGET(run-ull
COMMAND ${CMAKE_COMMAND} -E copy_directory "${CMAKE_CURRENT_SOURCE_DIR}/run-poc"
"${PROJECT_BINARY_DIR}/run-ull"
COMMAND ${CMAKE_COMMAND} -E copy_directory "${CMAKE_CURRENT_SOURCE_DIR}/run/nonbreaking_prefixes/"
"${PROJECT_BINARY_DIR}/run-ull/nonbreaking_prefixes/"
COMMAND ${CMAKE_COMMAND} -E copy "${CMAKE_CURRENT_SOURCE_DIR}/run/split-sentences.pl"
"${PROJECT_BINARY_DIR}/run-ull/"
COMMAND ${CMAKE_COMMAND} -E copy "${CMAKE_CURRENT_SOURCE_DIR}/run/1-word-pairs/config/*"
"${PROJECT_BINARY_DIR}/run-ull/config"
COMMAND ${CMAKE_COMMAND} -E copy "${CMAKE_CURRENT_SOURCE_DIR}/run/2-mst-parsing/config/*"
"${PROJECT_BINARY_DIR}/run-ull/config"
WORKING_DIRECTORY ${CURRENT_SOURCE_DIR}
COMMENT "Setting run-ull in ${PROJECT_BINARY_DIR}/run-ull"
)