Migrated solution and projects to Visual Studio 2012.
Corrected references and folders. Removed XBOX references. Added a manually managed version.h as VS does not support autoconf macros. Check if VS is in use to point to this version.h gitignore for VS files. Removed nonexistant files from VS projects. DOES NOT YET COMPILE
This commit is contained in:
@@ -31,7 +31,11 @@
|
||||
*/
|
||||
#define CDIO_API_VERSION 6
|
||||
|
||||
#include <cdio/version.h>
|
||||
#if defined (_MSC_VER) || defined (_XBOX)
|
||||
#include <cdio/msvc/version.h>
|
||||
#else
|
||||
#include <cdio/version.h>
|
||||
#endif
|
||||
#include <cdio/types.h>
|
||||
#include <cdio/sector.h>
|
||||
|
||||
|
||||
20
include/cdio/msvc/version.h
Normal file
20
include/cdio/msvc/version.h
Normal file
@@ -0,0 +1,20 @@
|
||||
/* $Id: version.h.in,v 1.6 2005/01/29 20:54:20 rocky Exp $ */
|
||||
/** \file version.h
|
||||
*
|
||||
* \brief A file containing the libcdio package version
|
||||
* number (@LIBCDIO_VERSION_NUM@) and OS build name.
|
||||
*/
|
||||
|
||||
/*! CDIO_VERSION is a C-Preprocessor macro of a string that shows what
|
||||
version is used. cdio_version_string has the same value, but it is a
|
||||
constant variable that can be accessed at run time. */
|
||||
#define CDIO_VERSION "@VERSION@ @build@"
|
||||
extern const char *cdio_version_string; /**< = CDIO_VERSION */
|
||||
|
||||
/*! LIBCDIO_VERSION_NUM is a C-Preprocessor macro that can be used for
|
||||
testing in the C preprocessor. libcdio_version_num has the same
|
||||
value, but it is a constant variable that can be accessed at run
|
||||
time. */
|
||||
#define LIBCDIO_VERSION_NUM @LIBCDIO_VERSION_NUM@
|
||||
|
||||
extern const unsigned int libcdio_version_num; /**< = LIBCDIO_VERSION_NUM */
|
||||
Reference in New Issue
Block a user