http://git-wip-us.apache.org/repos/asf/orc/blob/7de5d89d/README.md ---------------------------------------------------------------------- diff --git a/README.md b/README.md index a253ff9..08d99ac 100644 --- a/README.md +++ b/README.md @@ -12,3 +12,24 @@ file need to be read for a particular query and the row indexes can narrow the search to a particular set of 10,000 rows. ORC supports the complete set of types in Hive, including the complex types: structs, lists, maps, and unions. + +## ORC File C++ Library + +This library allows C++ programs to read and write the +_Optimized Row Columnar_ (ORC) file format. + +[](https://travis-ci.org/hortonworks/orc) +[](https://ci.appveyor.com/project/thanhdowisc/orc/branch/c++) + +### Building + +```shell +-To compile: +% export TZ=America/Los_Angeles +% mkdir build +% cd build +% cmake .. +% make +% make test-out + +```
http://git-wip-us.apache.org/repos/asf/orc/blob/7de5d89d/appveyor.yml ---------------------------------------------------------------------- diff --git a/appveyor.yml b/appveyor.yml new file mode 100644 index 0000000..d44aba6 --- /dev/null +++ b/appveyor.yml @@ -0,0 +1,9 @@ +version: 1.0.{build} +branches: + only: + - c++ +build_script: +- mkdir _vc10 +- cd _vc10 +- cmake -DCMAKE_MAKE_PROGRAM=C:/Windows/Microsoft.NET/Framework/v4.0.30319/MSBuild.exe -DC09=true -G "Visual Studio 10" .. +- cmake --build . http://git-wip-us.apache.org/repos/asf/orc/blob/7de5d89d/c++/CMakeLists.txt ---------------------------------------------------------------------- diff --git a/c++/CMakeLists.txt b/c++/CMakeLists.txt new file mode 100644 index 0000000..a6a2e47 --- /dev/null +++ b/c++/CMakeLists.txt @@ -0,0 +1,21 @@ +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +include_directories ( + ${CMAKE_CURRENT_BINARY_DIR}/include + "include" + ) + +add_subdirectory(include) +add_subdirectory(libs) +add_subdirectory(src) +add_subdirectory(test)
