/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying file Copyright.txt or https://cmake.org/licensing for details. */ #ifndef cmFindPathCommand_h #define cmFindPathCommand_h #include "cmConfigure.h" // IWYU pragma: keep #include #include #include "cmFindBase.h" class cmCommand; class cmExecutionStatus; /** \class cmFindPathCommand * \brief Define a command to search for a library. * * cmFindPathCommand is used to define a CMake variable * that specifies a library. The command searches for a given * file in a list of directories. */ class cmFindPathCommand : public cmFindBase { public: cmFindPathCommand(); /** * This is a virtual constructor for the command. */ cmCommand* Clone() override { return new cmFindPathCommand; } /** * This is called when the command is first encountered in * the CMakeLists.txt file. */ bool InitialPass(std::vector const& args, cmExecutionStatus& status) override; bool IncludeFileInPath; private: std::string FindHeaderInFramework(std::string const& file, std::string const& dir); std::string FindHeader(); std::string FindNormalHeader(); std::string FindFrameworkHeader(); }; #endif ption> Mirror from: https://github.com/HDFGroup/hdf5.git
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2010-10-28 05:12:44 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2010-10-28 05:12:44 (GMT)
commit488446a6fcf962c8b19e452f15a45f11fc83b8c0 (patch)
treeec57c91d2a877d0880c4bde3aff78b7ca1c4c292
parentf89020324395cff518a84ae419317a7ea6dd2077 (diff)
downloadhdf5-488446a6fcf962c8b19e452f15a45f11fc83b8c0.zip
hdf5-488446a6fcf962c8b19e452f15a45f11fc83b8c0.tar.gz
hdf5-488446a6fcf962c8b19e452f15a45f11fc83b8c0.tar.bz2
[svn-r19682] Bug 2054: Round Robin code caused H5FFlush to corrupt a file.
John Mainzer fixed the bug and added a test which wrote file and flush a few time; close the file then open it by serial and read simple structure. I changed the test to two parallel running parts of ..._writer and ..._reader and have the reader verify the file after every flush by the writer. Tested: parallel in Jam and Amani.