Move revision.h and revision.h.in to include folder

kimkulling/move_revision_to_include_issue-4775
Kim Kulling 2024-06-12 20:25:17 +02:00
parent a722e33027
commit ed742aba56
6 changed files with 6 additions and 7 deletions

View File

@ -761,8 +761,8 @@ IF ( ASSIMP_INSTALL )
ENDIF() ENDIF()
CONFIGURE_FILE( CONFIGURE_FILE(
${CMAKE_CURRENT_LIST_DIR}/revision.h.in ${CMAKE_CURRENT_LIST_DIR}/include/assimp/revision.h.in
${CMAKE_CURRENT_BINARY_DIR}/revision.h ${CMAKE_CURRENT_BINARY_DIR}/include/assimp/revision.h
) )
CONFIGURE_FILE( CONFIGURE_FILE(

View File

@ -44,8 +44,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include "ScenePrivate.h" #include "ScenePrivate.h"
#include <assimp/scene.h> #include <assimp/scene.h>
#include <assimp/version.h> #include <assimp/version.h>
#include <assimp/revision.h>
#include "revision.h"
// -------------------------------------------------------------------------------- // --------------------------------------------------------------------------------
// Legal information string - don't remove this. // Legal information string - don't remove this.

View File

@ -1,4 +1,4 @@
#include "revision.h" #include <assimp/revision.h>
#ifdef __GNUC__ #ifdef __GNUC__
#include "winresrc.h" #include "winresrc.h"
#else #else

View File

@ -1,4 +1,4 @@
#include "revision.h" #include <assimp/revision.h>
#if defined(__GNUC__) && defined(_WIN32) #if defined(__GNUC__) && defined(_WIN32)
#include "winresrc.h" #include "winresrc.h"
#else #else

View File

@ -1,7 +1,7 @@
// Microsoft Visual C++ generated resource script. // Microsoft Visual C++ generated resource script.
// //
#include "resource.h" #include "resource.h"
#include "revision.h" #include <assimp/revision.h>
#define APSTUDIO_READONLY_SYMBOLS #define APSTUDIO_READONLY_SYMBOLS
///////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////