Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
toeb committed Feb 4, 2015
1 parent 305e7fa commit 8b14bf4
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 14 deletions.
9 changes: 9 additions & 0 deletions cmake/collections/list_remove_duplicates.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@

function(list_remove_duplicates __lst)
list(LENGTH ${__lst} len)
if(len EQUAL 0)
return()
endif()
list(REMOVE_DUPLICATES repos)
return()
endfunction()
4 changes: 0 additions & 4 deletions cmake/core/execute.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
map_clone_deep(${processStart})
ans(processResult)


scope_import_map(${processStart})

set(timeout TIMEOUT ${timeout})
Expand All @@ -43,9 +42,6 @@

## todo - test this
string(REPLACE \\ \\\\ arg_string "${arg_string}")
string_semicolon_decode("${arg_string}")
ans(arg_string)
message("${arg_string}")

set(execute_process_command "
execute_process(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,10 @@
message(WARNING "failed to query host ${next_uri} ${error}")
return()
endif()
endwhile()
list_remove_duplicates(repos)
list_remove(repos ssh https)# hack: these are different name properties


endwhile()

list(REMOVE_DUPLICATES repos)
list(REMOVE_ITEM repos ssh https) # hack: these are different names
set(result)
## possibly this should recursively check if the repo really exists
foreach(repo ${repos})
Expand Down
5 changes: 0 additions & 5 deletions cmake/reg/reg_write_value.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,3 @@




function(reg_test_write)

reg_write_value("HKCU/testvalue" "valval" "asd;bsd;csd" )
endfunction()

0 comments on commit 8b14bf4

Please sign in to comment.