Skip to content

Instantly share code, notes, and snippets.

@mactkg
Created December 16, 2015 03:32
Show Gist options
  • Save mactkg/ea499500a5356056c586 to your computer and use it in GitHub Desktop.
Save mactkg/ea499500a5356056c586 to your computer and use it in GitHub Desktop.
魔法のxcconfig
//
// Config.xcconfig
// ARTest
//
// Created by Kenta Hara on 2015/12/09.
// Copyright © 2015年 Kenta Hara. MIT License
//
#include "Homebrew.xcconfig"
ARCHS = $(ARCHS_STANDARD_32_BIT)
MACOSX_DEPLOYMENT_TARGET = 10.10
// select required resources(framworks, libraries)
ARTK_FRAMEWORKS = -framework GLUT -framework OpenGL -framework Cocoa -framework Carbon -framework QuickTime
ARTK_LIBS = $(BREW_LIB)/libAR.a $(BREW_LIB)/libARgsub_lite.a $(BREW_LIB)/libARgsub.a $(BREW_LIB)/libARgsubUtil.a $(BREW_LIB)/libARMulti.a $(BREW_LIB)/libARvideo.a
// add required resources as flags
OTHER_LDFLAGS = $(inherited) $(ARTK_LIBS) $(ARTK_FRAMEWORKS)
// where is built app located
CONFIGURATION_BUILD_DIR = $(SRCROOT)/bin/
//
// Homebrew.xcconfig
// ARTest
//
// Created by Kenta Hara on 2015/12/10.
// Copyright © 2015年 Kenta Hara. MIT License
//
BREW_HOME = /usr/local
BREW_INCLUDE = $(BREW_HOME)/include
BREW_LIB = $(BREW_HOME)/lib
HEADER_SEARCH_PATHS = $(inherited) $(BREW_INCLUDE)
LIBRARY_SEARCH_PATHS = $(inherited) $(BREW_LIB)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment