Closed gonsie closed 6 years ago
cmake/FindNAME.cmake
file for each of the plugins (this includes any dependencies a plugin library may have, e.g. the Exodus makefile pointed to NetCDF so there is both a FindEXODUS.cmake
and aFindNETCDF.cmake
) CMake build should now work correctly as of 3bf8bc3e6d75946910452c414d13f70285563879
Worked locally when building with:
mkdir build && cd build
cmake -DCMAKE_CXX_COMPILER=mpicxx -DWITH_JSON-CWX_PREFIX=$JSON_DIR -DENABLE_PDB_PLUGIN=ON -DENABLE_SILO_PLUGIN=ON -DWITH_SILO_PREFIX=$SILO_DIR -DENABLE_HDF5_PLUGIN=ON -DWITH_HDF5_PREFIX=$HDF5_DIR -DENABLE_TYPHONIO_PLUGIN=ON -DWITH_TYPHONIO_PREFIX=$TYPHONIO_DIR -DENABLE_EXODUS_PLUGIN=ON -DWITH_EXODUS_PREFIX=$EXODUS_DIR -DWITH_NETCDF_PREFIX=$NETCDF_DIR ..
make
Start of cmake branch (now that json-cwx is pulled out). There is still a lot left to do, mostly with the plugins. CMake's implementation of finding dependencies isn't quite as nice as the way it was set up in gmake.
cmake/FindNAME.cmake
file for each of the plugins.When we eventually switch to BLT this will get much nicer. BLT has the config-site style support that is already in use here.