I can also vouch for Clang on Windows. I also build from Sublime, with “variants” set up for cleaning, fully rebuilding and build & run. For debugging, I run devenv on the resulting binary and step through code in Visual Studio, inspired by the handmadehero series.
Here’s one of my build scripts.
@echo off
:: Set working directory
pushd %1
:: Prepare build directory
mkdir ..\build
pushd ..\build
:: Compile
cl^
-Zi^
-MTd^
-EHsc^
-I "..\include"^
-I "%CINDER%\include"^
..\src\main.cpp^
cinder-v120_d.lib^
user32.lib^
gdi32.lib^
comdlg32.lib^
advapi32.lib^
shell32.lib^
ole32.lib^
oleaut32.lib^
-link^
/LIBPATH:"%CINDER%\lib\msw\x86"^
/NODEFAULTLIB:LIBCMT
popd
popd
And here’s how I use it in Sublime.
{
"build_systems":
[
{
"cmd":
[
"build.bat",
"$file_path"
],
"name": "Cinder for Windows",
"syntax": "Packages/ANSIescape/ANSI.tmLanguage",
"target": "ansi_color_build",
"variants":
[
{
"cmd":
[
"build.bat",
"$file_path",
"&&",
"$file_path/../build/main.exe"
],
"name": "Build & Run"
},
{
"cmd":
[
"rmdir",
"/S",
"/Q",
"build",
"&&",
"build.bat",
"$file_path"
],
"name": "Full Rebuild"
}
],
"working_dir": "$file_path/../../windows"
}
]
}
The ANSIescape package is optional, but makes for console-like output in the Sublime output.
--
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA2mo7k_NpcjvOgWLUXyzw%3DZTzt9e7O5LiYKvYHkWVjmYw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAFRtmOBvzhTer2Twjh0ebXg28b7Bn8i%3DZKMKzUXx_FN0xaENVw%40mail.gmail.com.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_maya+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA2mo7k_NpcjvOgWLUXyzw%3DZTzt9e7O5LiYKvYHkWVjmYw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
----
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_maya+unsub...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA2mo7k_NpcjvOgWLUXyzw%3DZTzt9e7O5LiYKvYHkWVjmYw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
--
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAFRtmOBvzhTer2Twjh0ebXg28b7Bn8i%3DZKMKzUXx_FN0xaENVw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/ce957d18-24b3-4f59-ae7c-4c50fc5b86d5%40googlegroups.com.