Created
December 16, 2015 03:32
-
-
Save mactkg/ea499500a5356056c586 to your computer and use it in GitHub Desktop.
魔法のxcconfig
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// 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/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// 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