> On Jan 15, 2017, at 2:24 AM, Avinash Dongre <adon...@apache.org> wrote: > > This is great. > > Need to make following change to PASS the build. > > > diff --git a/src/tests/javaobject/CMakeLists.txt > b/src/tests/javaobject/CMakeLists.txt > index 4924e5c..7f85878 100644 > --- a/src/tests/javaobject/CMakeLists.txt > +++ b/src/tests/javaobject/CMakeLists.txt > @@ -9,8 +9,8 @@ get_filename_component(JAVA_HOME ${JAVA_BIN} DIRECTORY) > > # Update the class path. > set(CMAKE_JAVA_INCLUDE_PATH ${JAVA_HOME}/lib/tools.jar) > -if (GEMFIRE_HOME) > - LIST(APPEND CMAKE_JAVA_INCLUDE_PATH > ${GEMFIRE_HOME}/lib/geode-core-9.0.0.jar) > +if (DEFINED ENV{GEMFIRE_HOME}) > + LIST(APPEND CMAKE_JAVA_INCLUDE_PATH > $ENV{GEMFIRE_HOME}/lib/geode-core-1.0.0-incubating.jar) > else() > LIST(APPEND CMAKE_JAVA_INCLUDE_PATH "/gemfire/lib/geode-core-9.0.0.jar") > endif() > > > Also need to update the src/BUILDING.md for instruction to download geode > build from [1] and set GEMFIRE_HOME ( which I think should be changed to > GEODE_HOME ) > > *OPTION 2* > Add Geode Jars as external dependency and update CMakeFile accordingly to > download as done for other dependencies > > > Thanks > Avinash > > [1] > http://www-eu.apache.org/dist/geode/1.0.0-incubating/apache-geode-1.0.0-incubating.tar.gz > > >> >>
I think BUILDING.md needs a few corrections: 1) When you do `mkdir build` you need to also `cd build`. 2) doxygen is not an optional install, it was required in order to generate the cmake environment. 3) Need to add a step for setting GEMFIRE_HOME. 4) Would be nice to use a parallel build option to speed up compilation. As we integrate this into the geode build, I would like to be able to run a single top-level command that builds both geode and these client drivers, without the need to precreate dirs or setup environment vars. Anthony