forked from rime/squirrel
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
34 lines (27 loc) · 1.06 KB
/
Copy pathMakefile
File metadata and controls
34 lines (27 loc) · 1.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
all: debug
librime:
mkdir -p ../librime/xbuild
cd ../librime/xbuild; cmake -G Xcode -DBUILD_STATIC=ON ..
cd ../librime/xbuild; xcodebuild -project rime.xcodeproj -configuration Debug build
librime-release:
mkdir -p ../librime/xbuild
cd ../librime/xbuild; cmake -G Xcode -DBUILD_STATIC=ON ..
cd ../librime/xbuild; xcodebuild -project rime.xcodeproj -configuration Release build
release:
xcodebuild -project Squirrel.xcodeproj -configuration Release build
rm -f build/Squirrel.app
cd build ; ln -s Release/Squirrel.app Squirrel.app
debug:
xcodebuild -project Squirrel.xcodeproj -configuration Debug build
rm -f build/Squirrel.app
cd build ; ln -s Debug/Squirrel.app Squirrel.app
install:
rm -rf "/Library/Input Methods/Squirrel.app"
cp -R build/Debug/Squirrel.app "/Library/Input Methods"
# "/Library/Input Methods/Squirrel.app/Contents/Resources/postflight"
install-release:
rm -rf "/Library/Input Methods/Squirrel.app"
cp -R build/Release/Squirrel.app "/Library/Input Methods"
"/Library/Input Methods/Squirrel.app/Contents/Resources/postflight"
clean:
rm -rf build