Skip to content

Commit

Permalink
Merge pull request #22 from Tilka/run_target
Browse files Browse the repository at this point in the history
Fix run targets
  • Loading branch information
neobrain committed Dec 8, 2014
2 parents a851c62 + 3907287 commit 5f0b805
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ add_custom_target(run)
function(add_hwtest module testname filelist)
add_executable(${module}_${testname} ${filelist} ${COMMON_CODE})
target_link_libraries(${module}_${testname} hwtests_common wiiuse bte fat ogc m)
add_custom_target(run_${module}_${testname} sh ${CMAKE_SOURCE_DIR}/run.sh ${module}_${testname})
add_custom_target(run_${module}_${testname} sh ${CMAKE_SOURCE_DIR}/run.sh ${module}_${testname}${CMAKE_EXECUTABLE_SUFFIX})
add_dependencies(run_${module}_${testname} ${module}_${testname})
add_dependencies(run run_${module}_${testname})
endfunction()
Expand Down

0 comments on commit 5f0b805

Please sign in to comment.