https://github.com/Kitware/CMake
Revision 3e7bba3fb2d431b512181e99c6333e9dfdc8a9fd authored by Brad King on 29 January 2013, 19:52:13 UTC, committed by CMake Topic Stage on 29 January 2013, 19:52:13 UTC
429e369 Process COMPILE_DEFINITIONS as generator expressions in QtAutomoc.
0e10782 Move GetCompileDefinitions to cmTarget.

2 parent s c42deac + 429e369
Raw File
Tip revision: 3e7bba3fb2d431b512181e99c6333e9dfdc8a9fd authored by Brad King on 29 January 2013, 19:52:13 UTC
Merge topic 'fix-automoc-compile-defs'
Tip revision: 3e7bba3
cmHexFileConverter.h
/*============================================================================
  CMake - Cross Platform Makefile Generator
  Copyright 2000-2009 Kitware, Inc., Insight Software Consortium

  Distributed under the OSI-approved BSD License (the "License");
  see accompanying file Copyright.txt for details.

  This software is distributed WITHOUT ANY WARRANTY; without even the
  implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  See the License for more information.
============================================================================*/
#ifndef cmHexFileConverter_h
#define cmHexFileConverter_h

/** \class cmHexFileConverter
 * \brief Can detects Intel Hex and Motorola S-record files and convert them
 *        to binary files.
 *
 */
class cmHexFileConverter
{
public:
  enum FileType {Binary, IntelHex, MotorolaSrec};
  static FileType DetermineFileType(const char* inFileName);
  static bool TryConvert(const char* inFileName, const char* outFileName);
};

#endif
back to top