CMAKE compile options and etc options

cmake -G “Unix Makefiles”

-DCMAKE_INSTALL_PREFIX=`pwd`/install
-DCMAKE_BUILD_TYPE=MinSizeRel
-DCMAKE_C_COMPILER=`xcrun -f clang`
-DCMAKE_CXX_COMPILER=`xcrun -f clang++`
-DwxWidgets_CONFIG_EXECUTABLE=../../../wxWidgets/install/bin/wx-config
-DwxWidgets_COMPONENTS=”stc;html;aui;adv;core;net;base”
-DwxLuaBind_COMPONENTS=”stc;html;aui;adv;core;net;base”
-DwxLua_LUA_LIBRARY_USE_BUILTIN=FALSE
-DwxLua_LUA_LIBRARY_VERSION=5.2
-DBUILD_USE_PRECOMPILED_HEADERS=FALSE
-DCMAKE_CXX_FLAGS=’-std=c++11 -stdlib=libc++ -Wno-c++11-narrowing’
-DwxLua_LUA_LIBRARY_USE_BUILTIN=TRUE
-DwxLua_LUA_LIBRARY_BUILD_SHARED=TRUE

 

fin.