Skip to content

Instantly share code, notes, and snippets.

@wuhao5
Last active August 29, 2015 14:04
Show Gist options
  • Save wuhao5/8cfea073530abb63d91e to your computer and use it in GitHub Desktop.
Save wuhao5/8cfea073530abb63d91e to your computer and use it in GitHub Desktop.
wxWidget configure for Clang and C++11
./configure --prefix=`pwd`/install CC=clang CXX=clang++ CXXCPP="clang++ -E -std=c++11" --with-macosx-sdk=`xcrun --show-sdk-path` --enable-stl --with-expat=no --enable-unicode --with-osx_cocoa CFLAGS="-Os" CXXFLAGS="-Os -stdlib=libc++ -std=c++11" LDFLAGS="-stdlib=libc++ -flto" CPP="clang -E" OBJCXXFLAGS="-stdlib=libc++ -std=c++11" --with-libjpeg=builtin --with-libpng=builtin --with-libtiff=no --with-expat=no --with-zlib=builtin --disable-richtext --with-cocoa -with-macosx-version-min=10.7 --enable-compat28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment