daily pastebin goal
61%
SHARE
TWEET

Untitled

a guest Nov 25th, 2017 52 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2.  
  3. set(ENV{VS_UNICODE_OUTPUT} "")
  4. set(command "C:/Projects/Wt/winstng/bin/cmake.exe;-Dmake=${make};-Dconfig=${config};-P;C:/Projects/Wt/winstng/build/mysql-prefix/src/mysql-stamp/mysql-download-impl.cmake")
  5. execute_process(
  6.   COMMAND ${command}
  7.   RESULT_VARIABLE result
  8.   OUTPUT_FILE "C:/Projects/Wt/winstng/build/mysql-prefix/src/mysql-stamp/mysql-download-out.log"
  9.   ERROR_FILE "C:/Projects/Wt/winstng/build/mysql-prefix/src/mysql-stamp/mysql-download-err.log"
  10.   )
  11. if(result)
  12.   set(msg "Command failed: ${result}\n")
  13.   foreach(arg IN LISTS command)
  14.     set(msg "${msg} '${arg}'")
  15.   endforeach(arg)
  16.   set(msg "${msg}\nSee also\n  C:/Projects/Wt/winstng/build/mysql-prefix/src/mysql-stamp/mysql-download-*.log\n")
  17.   message(FATAL_ERROR "${msg}")
  18. else()
  19.   set(msg "mysql download command succeeded.  See also C:/Projects/Wt/winstng/build/mysql-prefix/src/mysql-stamp/mysql-download-*.log\n")
  20.   message(STATUS "${msg}")
  21. endif()
RAW Paste Data
Top