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
|
get_neighbors
|
||||||
ig_add
|
ig_add
|
||||||
ig_info
|
ig_info
|
||||||
|
shapes_exporter
|
||||||
tga_cut
|
tga_cut
|
||||||
tga_resize
|
tga_resize
|
||||||
zone_check_bind
|
zone_check_bind
|
||||||
|
|
|
@ -3,7 +3,7 @@ FILE(GLOB SRC *.cpp *.h)
|
||||||
ADD_EXECUTABLE(shapes_exporter WIN32 ${SRC})
|
ADD_EXECUTABLE(shapes_exporter WIN32 ${SRC})
|
||||||
|
|
||||||
TARGET_LINK_LIBRARIES(shapes_exporter ${PLATFORM_LINKFLAGS} nelmisc nel3d)
|
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)
|
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 <nel/misc/file.h>
|
||||||
#include "shapes_exporter.h"
|
#include "shapes_exporter.h"
|
||||||
|
|
||||||
|
#ifdef NL_OS_WINDOWS
|
||||||
|
# define NOMINMAX
|
||||||
|
# include <windows.h>
|
||||||
|
#endif // NL_OS_WINDOWS
|
||||||
|
|
||||||
using namespace NLMISC;
|
using namespace NLMISC;
|
||||||
using namespace NL3D;
|
using namespace NL3D;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue