Skip to content

Commit

Permalink
windows
Browse files Browse the repository at this point in the history
  • Loading branch information
hughperkins committed Jan 28, 2015
1 parent 03c9d5f commit 8108662
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,13 @@ add_custom_target(
clfiles
cp ${CMAKE_CURRENT_SOURCE_DIR}/test/*.cl ${CMAKE_BINARY_DIR}
)
add_dependencies( unittests clfiles )
else()
add_custom_target(
clfiles
copy ${CMAKE_CURRENT_SOURCE_DIR}\\tests\\*.cl ${CMAKE_BINARY_DIR}\\Release
)
# No idea how to do this on visual studio/windows
# If you have any ideas :-)
#add_custom_target(
# clfiles
# copy ${CMAKE_CURRENT_SOURCE_DIR}\\tests\\*.cl ${CMAKE_BINARY_DIR}\\Release
#)
endif()
add_dependencies( unittests clfiles )

0 comments on commit 8108662

Please sign in to comment.