Fixed: shapes_exporter compilation
This commit is contained in:
parent
ea566f55d0
commit
a97e963949
3 changed files with 8 additions and 2 deletions
|
@ -18,6 +18,7 @@ SUBDIRS(
|
|||
get_neighbors
|
||||
ig_add
|
||||
ig_info
|
||||
shapes_exporter
|
||||
tga_cut
|
||||
tga_resize
|
||||
zone_check_bind
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue