|
|
@ -508,15 +508,6 @@ |
|
|
|
" my_compiler = [\"Windows\", \"Visual Studio 2019\", [\"cmd\", \"/c\", VISUAL_STUDIO_2019_TOOLS, \"&\", \"cl\", f\"{filename_base}.cpp\"]]\n", |
|
|
|
" my_compiler = [\"Windows\", \"Visual Studio 2019\", [\"cmd\", \"/c\", VISUAL_STUDIO_2019_TOOLS, \"&\", \"cl\", f\"{filename_base}.cpp\"]]\n", |
|
|
|
" \n", |
|
|
|
" \n", |
|
|
|
" if not my_compiler:\n", |
|
|
|
" if not my_compiler:\n", |
|
|
|
" if os.path.isfile(\"./simple.exe\"):\n", |
|
|
|
|
|
|
|
" os.remove(\"./simple.exe\")\n", |
|
|
|
|
|
|
|
" compile_cmd = [\"cmd\", \"/c\", \"gcc\", \"simple.cpp\"]\n", |
|
|
|
|
|
|
|
" if run_cmd(compile_cmd):\n", |
|
|
|
|
|
|
|
" print(\"here\")\n", |
|
|
|
|
|
|
|
" if run_cmd([\"./simple\"]) == \"Hello\":\n", |
|
|
|
|
|
|
|
" my_compiler = [\"Windows\", \"GCC\", [\"cmd\", \"/c\", \"gcc\", f\"{filename_base}.cpp\"]]\n", |
|
|
|
|
|
|
|
" \n", |
|
|
|
|
|
|
|
" if not my_compiler:\n", |
|
|
|
|
|
|
|
" my_compiler=[my_platform, \"Unavailable\", []]\n", |
|
|
|
" my_compiler=[my_platform, \"Unavailable\", []]\n", |
|
|
|
" \n", |
|
|
|
" \n", |
|
|
|
" elif my_platform == \"Linux\":\n", |
|
|
|
" elif my_platform == \"Linux\":\n", |
|
|
|