Commit 80f83824 authored by Jason Rhinelander's avatar Jason Rhinelander

Copy src/*.R into build dir

parent 319b2cbf
......@@ -18,6 +18,7 @@ include_directories(include)
file(GLOB_RECURSE voting_include RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} include/*.h include/*.hpp)
file(GLOB_RECURSE voting_src RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} src/voting/*.cpp)
file(GLOB voting_scripts RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} src/*.cpp)
file(GLOB voting_R RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} src/*.R)
file(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/results)
......@@ -45,6 +46,10 @@ foreach(v_src ${voting_scripts})
target_link_libraries("${v}" voting)
endforeach()
foreach(v_r ${voting_R})
file(COPY "${CMAKE_CURRENT_SOURCE_DIR}/${v_r}" DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
endforeach()
add_subdirectory(report EXCLUDE_FROM_ALL)
#add_library(eris SHARED ${eris_src})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment