Fixed: shapes_exporter compilation

This commit is contained in:
kervala 2010-09-16 15:15:39 +02:00
parent ea566f55d0
commit a97e963949
3 changed files with 8 additions and 2 deletions

View file

@ -18,6 +18,7 @@ SUBDIRS(
get_neighbors
ig_add
ig_info
shapes_exporter
tga_cut
tga_resize
zone_check_bind

View file

@ -3,7 +3,7 @@ FILE(GLOB SRC *.cpp *.h)
ADD_EXECUTABLE(shapes_exporter WIN32 ${SRC})
TARGET_LINK_LIBRARIES(shapes_exporter ${PLATFORM_LINKFLAGS} nelmisc nel3d)
NL_DEFAULT_PROPS(shapes_exporter "Tools, 3D: Shapes Exporter")
NL_DEFAULT_PROPS(shapes_exporter "NeL, Tools, 3D: Shapes Exporter")
NL_ADD_RUNTIME_FLAGS(shapes_exporter)
INSTALL(TARGETS shapes_exporter RUNTIME DESTINATION ${NL_BIN_PREFIX} COMPONENT tools3d)
INSTALL(TARGETS shapes_exporter RUNTIME DESTINATION bin COMPONENT tools3d)

View file

@ -19,6 +19,11 @@
#include <nel/misc/file.h>
#include "shapes_exporter.h"
#ifdef NL_OS_WINDOWS
# define NOMINMAX
# include <windows.h>
#endif // NL_OS_WINDOWS
using namespace NLMISC;
using namespace NL3D;