-
Notifications
You must be signed in to change notification settings - Fork 939
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* * Added support for Buck build * * Added Buck build to the Travis file * * Fixed syntax error in Travis file * * Fixed casing of Buck target for eathread * * Fixed Homebrew install path in Travis * Split brew install steps in case of time-outs * * Pull ant out as brew install * * Switched to cpp11 by default * * Added build flavours based on travis platforms * * Locked version to cpp14 * * Linux to cpp11 * * Add -v * * Added Linuxbrew gcc for Buck * * Fixed syntax error * * Attempt to split buck build and cmake build on Travis * * Fixed syntax errors * * Fixed missing paren * * Removed CMake build when running Buck build on Travis * * Fixed syntax error
- Loading branch information
Showing
11 changed files
with
302 additions
and
42 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
[cxx] | ||
cxxflags = -std=c++14 | ||
|
||
[cxx#linux-x86_64] | ||
cxxflags = -std=c++14 | ||
|
||
[cxx#macosx-x86_64] | ||
cxxflags = -std=c++14 |
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
cxx_library( | ||
name = 'eastl', | ||
header_namespace = 'EASTL', | ||
exported_headers = subdir_glob([ | ||
('include/EASTL', '**/*.h'), | ||
]), | ||
srcs = glob([ | ||
'source/**/*.cpp', | ||
]), | ||
compiler_flags = [ | ||
'-DEASTL_OPENSOURCE=1', | ||
'-DEASTL_THREAD_SUPPORT_AVAILABLE=0', | ||
], | ||
licenses = [ | ||
'LICENSE', | ||
], | ||
visibility = [ | ||
'PUBLIC', | ||
], | ||
deps = [ | ||
'//test/packages/EABase:eabase', | ||
], | ||
) | ||
|
||
cxx_library( | ||
name = 'test', | ||
header_namespace = '', | ||
exported_headers = subdir_glob([ | ||
('test/source', '**/*.h'), | ||
]), | ||
srcs = glob([ | ||
'test/source/**/*.cpp', | ||
], excludes = [ | ||
'test/source/main.cpp', | ||
]), | ||
compiler_flags = [ | ||
'-DEASTL_OPENSOURCE=1', | ||
'-DEASTL_THREAD_SUPPORT_AVAILABLE=0', | ||
], | ||
deps = [ | ||
'//:eastl', | ||
'//test/packages/EAAssert:eaassert', | ||
'//test/packages/EABase:eabase', | ||
'//test/packages/EAMain:eamain', | ||
'//test/packages/EAStdC:eastdc', | ||
'//test/packages/EATest:eatest', | ||
'//test/packages/EAThread:eathread', | ||
], | ||
) | ||
|
||
cxx_binary( | ||
name = 'test-runner', | ||
srcs = glob([ | ||
'test/source/main.cpp', | ||
]), | ||
compiler_flags = [ | ||
'-DEASTL_OPENSOURCE=1', | ||
'-DEASTL_THREAD_SUPPORT_AVAILABLE=0', | ||
], | ||
deps = [ | ||
'//:test', | ||
], | ||
) | ||
|
||
cxx_binary( | ||
name = 'benchmark', | ||
header_namespace = '', | ||
headers = subdir_glob([ | ||
('benchmark/source', '**/*.h'), | ||
]), | ||
srcs = glob([ | ||
'benchmark/source/**/*.cpp', | ||
]), | ||
compiler_flags = [ | ||
'-DEASTL_OPENSOURCE=1', | ||
'-DEASTL_THREAD_SUPPORT_AVAILABLE=0', | ||
], | ||
deps = [ | ||
'//:eastl', | ||
'//:test', | ||
'//test/packages/EAStdC:eastdc', | ||
'//test/packages/EATest:eatest', | ||
], | ||
) |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
prebuilt_cxx_library( | ||
name = 'eaassert', | ||
header_namespace = 'EAAssert', | ||
header_only = True, | ||
exported_headers = subdir_glob([ | ||
('include/EAAssert', '**/*.h'), | ||
]), | ||
visibility = [ | ||
'PUBLIC', | ||
], | ||
) |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
prebuilt_cxx_library( | ||
name = 'eabase', | ||
header_namespace = 'EABase', | ||
header_only = True, | ||
exported_headers = subdir_glob([ | ||
('include/Common/EABase', '**/*.h'), | ||
]), | ||
visibility = [ | ||
'PUBLIC', | ||
], | ||
) |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
prebuilt_cxx_library( | ||
name = 'eamain', | ||
header_namespace = 'EAMain', | ||
header_only = True, | ||
exported_headers = subdir_glob([ | ||
('include/EAMain', '**/*.h'), | ||
('include/EAMain', '**/*.inl'), | ||
]), | ||
visibility = [ | ||
'PUBLIC', | ||
], | ||
) |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
cxx_library( | ||
name = 'eastdc', | ||
header_namespace = 'EAStdC', | ||
exported_headers = subdir_glob([ | ||
('include/EAStdC', '**/*.h'), | ||
]), | ||
srcs = glob([ | ||
'source/**/*.cpp', | ||
]), | ||
compiler_flags = [ | ||
'-DEASTL_OPENSOURCE=1', | ||
'-DEASTL_THREAD_SUPPORT_AVAILABLE=0', | ||
], | ||
visibility = [ | ||
'PUBLIC', | ||
], | ||
deps = [ | ||
'//test/packages/EAAssert:eaassert', | ||
'//test/packages/EABase:eabase', | ||
], | ||
) |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
cxx_library( | ||
name = 'eatest', | ||
header_namespace = 'EATest', | ||
exported_headers = subdir_glob([ | ||
('include/EATest', '**/*.h'), | ||
('include/EATest', '**/*.inl'), | ||
]), | ||
srcs = glob([ | ||
'source/**/*.cpp', | ||
]), | ||
compiler_flags = [ | ||
'-DEASTL_OPENSOURCE=1', | ||
'-DEASTL_THREAD_SUPPORT_AVAILABLE=0', | ||
], | ||
visibility = [ | ||
'PUBLIC', | ||
], | ||
deps = [ | ||
'//:eastl', | ||
'//test/packages/EABase:eabase', | ||
'//test/packages/EAMain:eamain', | ||
'//test/packages/EAStdC:eastdc', | ||
'//test/packages/EAThread:eathread', | ||
], | ||
) |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
prebuilt_cxx_library( | ||
name = 'eathread', | ||
header_namespace = 'eathread', | ||
header_only = True, | ||
exported_headers = subdir_glob([ | ||
('include/eathread', '**/*.h'), | ||
]), | ||
visibility = [ | ||
'PUBLIC', | ||
], | ||
) |