Skip to content

Commit

Permalink
Generate R example file properly; see #668
Browse files Browse the repository at this point in the history
  • Loading branch information
ibell committed Jun 29, 2015
1 parent caf858b commit 7bea3f2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -925,7 +925,8 @@ if (COOLPROP_R_MODULE)

add_custom_command(TARGET CoolProp
POST_BUILD
COMMAND python example_generator.py R "${CMAKE_CURRENT_BINARY_DIR}/Example.R")
COMMAND python example_generator.py R "${CMAKE_CURRENT_BINARY_DIR}/Example.R"
WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/dev/scripts/examples")
install (FILES "${CMAKE_CURRENT_BINARY_DIR}/Example.R" DESTINATION R)
install (FILES "${CMAKE_CURRENT_BINARY_DIR}/CoolProp.R" DESTINATION R)
install (TARGETS ${app_name} DESTINATION R/${CMAKE_SYSTEM_NAME}_${BITNESS}bit)
Expand Down

0 comments on commit 7bea3f2

Please sign in to comment.