xcode for threaded mert

This commit is contained in:
Hieu Hoang 2012-06-26 16:30:17 -04:00
parent fbd54800c6
commit a4f69bb187
2 changed files with 30 additions and 0 deletions

View File

@ -196,10 +196,20 @@
1EB0AF101593A2180007E2A4 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
GCC_PREPROCESSOR_DEFINITIONS = (
"DEBUG=1",
"$(inherited)",
WITH_THREADS,
);
HEADER_SEARCH_PATHS = (
../..,
/opt/local/include,
);
LIBRARY_SEARCH_PATHS = /opt/local/lib/;
OTHER_LDFLAGS = (
"-lz",
"-lboost_thread-mt",
);
PRODUCT_NAME = "$(TARGET_NAME)";
};
name = Debug;
@ -207,10 +217,16 @@
1EB0AF111593A2180007E2A4 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
GCC_PREPROCESSOR_DEFINITIONS = WITH_THREADS;
HEADER_SEARCH_PATHS = (
../..,
/opt/local/include,
);
LIBRARY_SEARCH_PATHS = /opt/local/lib/;
OTHER_LDFLAGS = (
"-lz",
"-lboost_thread-mt",
);
PRODUCT_NAME = "$(TARGET_NAME)";
};
name = Release;

View File

@ -105,6 +105,8 @@
1E3962231594D0FF006FE978 /* SentenceLevelScorer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1E3962221594D0FF006FE978 /* SentenceLevelScorer.cpp */; };
1E3962251594D12C006FE978 /* SentenceLevelScorer.h in Headers */ = {isa = PBXBuildFile; fileRef = 1E3962241594D12C006FE978 /* SentenceLevelScorer.h */; };
1E43CA3415973474000E29D3 /* PermutationScorer.h in Headers */ = {isa = PBXBuildFile; fileRef = 1E43CA3315973474000E29D3 /* PermutationScorer.h */; };
1E689F21159A529C00DD995A /* ThreadPool.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1E689F1F159A529C00DD995A /* ThreadPool.cpp */; };
1E689F22159A529C00DD995A /* ThreadPool.h in Headers */ = {isa = PBXBuildFile; fileRef = 1E689F20159A529C00DD995A /* ThreadPool.h */; };
1EE52B561596B3E4006DC938 /* StatisticsBasedScorer.h in Headers */ = {isa = PBXBuildFile; fileRef = 1EE52B551596B3E4006DC938 /* StatisticsBasedScorer.h */; };
1EE52B591596B3FC006DC938 /* StatisticsBasedScorer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1EE52B581596B3FC006DC938 /* StatisticsBasedScorer.cpp */; };
/* End PBXBuildFile section */
@ -209,6 +211,8 @@
1E3962221594D0FF006FE978 /* SentenceLevelScorer.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = SentenceLevelScorer.cpp; path = ../../mert/SentenceLevelScorer.cpp; sourceTree = "<group>"; };
1E3962241594D12C006FE978 /* SentenceLevelScorer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SentenceLevelScorer.h; path = ../../mert/SentenceLevelScorer.h; sourceTree = "<group>"; };
1E43CA3315973474000E29D3 /* PermutationScorer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = PermutationScorer.h; path = ../../mert/PermutationScorer.h; sourceTree = "<group>"; };
1E689F1F159A529C00DD995A /* ThreadPool.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = ThreadPool.cpp; path = ../../moses/src/ThreadPool.cpp; sourceTree = "<group>"; };
1E689F20159A529C00DD995A /* ThreadPool.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = ThreadPool.h; path = ../../moses/src/ThreadPool.h; sourceTree = "<group>"; };
1EE52B551596B3E4006DC938 /* StatisticsBasedScorer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = StatisticsBasedScorer.h; path = ../../mert/StatisticsBasedScorer.h; sourceTree = "<group>"; };
1EE52B581596B3FC006DC938 /* StatisticsBasedScorer.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = StatisticsBasedScorer.cpp; path = ../../mert/StatisticsBasedScorer.cpp; sourceTree = "<group>"; };
/* End PBXFileReference section */
@ -227,6 +231,8 @@
1E2CCF2815939E2D00D858D1 = {
isa = PBXGroup;
children = (
1E689F1F159A529C00DD995A /* ThreadPool.cpp */,
1E689F20159A529C00DD995A /* ThreadPool.h */,
1EE52B581596B3FC006DC938 /* StatisticsBasedScorer.cpp */,
1EE52B551596B3E4006DC938 /* StatisticsBasedScorer.h */,
1E3962241594D12C006FE978 /* SentenceLevelScorer.h */,
@ -408,6 +414,7 @@
1E3962251594D12C006FE978 /* SentenceLevelScorer.h in Headers */,
1EE52B561596B3E4006DC938 /* StatisticsBasedScorer.h in Headers */,
1E43CA3415973474000E29D3 /* PermutationScorer.h in Headers */,
1E689F22159A529C00DD995A /* ThreadPool.h in Headers */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@ -505,6 +512,7 @@
1E3962201594CFF9006FE978 /* Permutation.cpp in Sources */,
1E3962231594D0FF006FE978 /* SentenceLevelScorer.cpp in Sources */,
1EE52B591596B3FC006DC938 /* StatisticsBasedScorer.cpp in Sources */,
1E689F21159A529C00DD995A /* ThreadPool.cpp in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@ -560,6 +568,11 @@
isa = XCBuildConfiguration;
buildSettings = {
EXECUTABLE_PREFIX = lib;
"GCC_PREPROCESSOR_DEFINITIONS[arch=*]" = (
"DEBUG=1",
"$(inherited)",
WITH_THREADS,
);
HEADER_SEARCH_PATHS = (
../..,
/opt/local/include,
@ -572,6 +585,7 @@
isa = XCBuildConfiguration;
buildSettings = {
EXECUTABLE_PREFIX = lib;
GCC_PREPROCESSOR_DEFINITIONS = WITH_THREADS;
HEADER_SEARCH_PATHS = (
../..,
/opt/local/include,