--sysroot
で SDK のディレクトリを指定すればいい
CXXFLAGS=-std=gnu++1z -g -DDEBUG -D_DEBUG --sysroot=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk
--sysroot
で SDK のディレクトリを指定すればいい
CXXFLAGS=-std=gnu++1z -g -DDEBUG -D_DEBUG --sysroot=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk
`.xcodeproj` に環境変数をそのまま記述しても適用されない。 | |
コマンドラインから `xcodebuild -project <Project名>.xcodeproj -configuration <Config名> <設定名>=<環境変数名>` のように指定する。 | |
例) `xcodebuild -project MyProject.xcodeproj -configuration Release BOOST_ROOT_DIR=$MY_BOOST_ROOT_DIR` |
`=SUM(INDIRECT("R2C[0]:R[-1]C[0]", FALSE))` | |
R2 を変えると、どの高さから計算を開始するかを変更できる |
`cmake --build <build-dir> --target <対象のターゲット>` でビルド処理を走らせないと、対象のターゲットのスクリプトが生成されない。 |
Xcode でリンカーから出力される ld: warning の警告は other linker flags に `-w` を渡すと抑制できる |
1 15135 {_B accurately | |
1 15128 {_B accurately | |
1 15143 {_B accurately | |
1 15150 {_B accuray | |
1 15154 {_B accurs'd | |
1 15163 {_B accursed | |
1 15158 A_B accursed | |
1 15168 A_B accurst | |
1 15173 {_B accus'd | |
1 15178 @_B accusal |
cat /dev/stdin | node -e 'console.log( JSON.stringify(require("fs").readFileSync("/dev/stdin", "utf-8")) );' |