@ -26,7 +26,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
#include <stdio.h>
#include "plWavFile.h"
#ifdef MAXPLUGINCODE
#ifdef BUILDING_MAXPLUGIN
#ifdef DX_OLD_SDK
#include <dxerr9.h>
@ -1094,4 +1094,4 @@ public:
#endif
#endif //MAXPLUGINCODE
#endif // BUILDING_MAXPLUGIN
#ifndef plWavFile_H
#define plWavFile_H
#define WAVEFILE_READ 1
#define WAVEFILE_WRITE 2
@ -111,6 +111,6 @@ protected:
HRESULT WriteMMIO( WAVEFORMATEX *pwfxDest );
HRESULT IClose();
};
#endif // plWavFile_H
@ -4,8 +4,6 @@
#add_subdirectory(plResBrowser)
# Max Stuff goes below here...
option(3dsm_BUILD_PLUGIN "Do we want to build the 3ds Max plugin?" OFF)
if(3dsm_BUILD_PLUGIN)
add_definitions(-DMAXPLUGINCODE)
@ -87,4 +87,9 @@ if (3dsm_FOUND)
if(NOT 3dsm_FIND_QUIETLY)
message(STATUS "Found 3ds Max SDK: ${3dsm_PATH}")
endif()
if (3dsm_BUILD_PLUGIN)
add_definitions(-DBUILDING_MAXPLUGIN)