Placeholder projects
--HG-- branch : feature-export-assimp
This commit is contained in:
parent
8179ee3836
commit
d55124a6a9
6 changed files with 102 additions and 1 deletions
|
@ -1,6 +1,11 @@
|
||||||
|
|
||||||
IF(WITH_NEL_TOOLS)
|
IF(WITH_NEL_TOOLS)
|
||||||
IF(WITH_3D)
|
IF(WITH_3D)
|
||||||
|
IF(WITH_ASSIMP)
|
||||||
|
SUBDIRS(
|
||||||
|
mesh_utils
|
||||||
|
mesh_export)
|
||||||
|
ENDIF()
|
||||||
SUBDIRS(
|
SUBDIRS(
|
||||||
anim_builder
|
anim_builder
|
||||||
animation_set_builder
|
animation_set_builder
|
||||||
|
@ -27,7 +32,6 @@ IF(WITH_NEL_TOOLS)
|
||||||
zone_dump
|
zone_dump
|
||||||
zviewer)
|
zviewer)
|
||||||
ENDIF()
|
ENDIF()
|
||||||
|
|
||||||
SUBDIRS(
|
SUBDIRS(
|
||||||
build_interface
|
build_interface
|
||||||
get_neighbors
|
get_neighbors
|
||||||
|
|
12
code/nel/tools/3d/mesh_export/CMakeLists.txt
Normal file
12
code/nel/tools/3d/mesh_export/CMakeLists.txt
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
FILE(GLOB SRCS *.cpp)
|
||||||
|
FILE(GLOB HDRS *.h)
|
||||||
|
|
||||||
|
SOURCE_GROUP("" FILES ${SRCS} ${HDRS})
|
||||||
|
|
||||||
|
ADD_EXECUTABLE(mesh_export ${SRCS} ${HDRS})
|
||||||
|
|
||||||
|
TARGET_LINK_LIBRARIES(mesh_export mesh_utils nel3d nelmisc)
|
||||||
|
NL_DEFAULT_PROPS(mesh_export "NeL, Tools, 3D: Mesh Export")
|
||||||
|
NL_ADD_RUNTIME_FLAGS(mesh_export)
|
||||||
|
|
||||||
|
INSTALL(TARGETS mesh_export RUNTIME DESTINATION ${NL_BIN_PREFIX} COMPONENT tools3d)
|
26
code/nel/tools/3d/mesh_export/main.cpp
Normal file
26
code/nel/tools/3d/mesh_export/main.cpp
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
// NeL - MMORPG Framework <http://dev.ryzom.com/projects/nel/>
|
||||||
|
// Copyright (C) 2015 Winch Gate Property Limited
|
||||||
|
// Author: Jan Boon <jan.boon@kaetemi.be>
|
||||||
|
//
|
||||||
|
// This program is free software: you can redistribute it and/or modify
|
||||||
|
// it under the terms of the GNU Affero General Public License as
|
||||||
|
// published by the Free Software Foundation, either version 3 of the
|
||||||
|
// License, or (at your option) any later version.
|
||||||
|
//
|
||||||
|
// This program is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
// GNU Affero General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU Affero General Public License
|
||||||
|
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
#include "../mesh_utils/mesh_utils.h"
|
||||||
|
|
||||||
|
int main(int argc, char *argv[])
|
||||||
|
{
|
||||||
|
mesh_utils_placeholder();
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* end of file */
|
16
code/nel/tools/3d/mesh_utils/CMakeLists.txt
Normal file
16
code/nel/tools/3d/mesh_utils/CMakeLists.txt
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
FILE(GLOB SRCS *.cpp)
|
||||||
|
FILE(GLOB HDRS *.h)
|
||||||
|
|
||||||
|
SOURCE_GROUP("" FILES ${SRCS} ${HDRS})
|
||||||
|
|
||||||
|
INCLUDE_DIRECTORIES(${assimp_INCLUDE_DIRS})
|
||||||
|
|
||||||
|
NL_TARGET_LIB(mesh_utils ${SRCS} ${HDRS})
|
||||||
|
|
||||||
|
TARGET_LINK_LIBRARIES(mesh_utils ${assimp_LIBRARIES} nelmisc nel3d)
|
||||||
|
NL_DEFAULT_PROPS(mesh_utils "NeL, Tools, 3D: Mesh Utils")
|
||||||
|
NL_ADD_RUNTIME_FLAGS(mesh_utils)
|
||||||
|
|
||||||
|
IF((WITH_INSTALL_LIBRARIES AND WITH_STATIC) OR NOT WITH_STATIC)
|
||||||
|
INSTALL(TARGETS mesh_utils LIBRARY DESTINATION ${NL_LIB_PREFIX} ARCHIVE DESTINATION ${NL_LIB_PREFIX} COMPONENT tools3d)
|
||||||
|
ENDIF((WITH_INSTALL_LIBRARIES AND WITH_STATIC) OR NOT WITH_STATIC)
|
23
code/nel/tools/3d/mesh_utils/mesh_utils.cpp
Normal file
23
code/nel/tools/3d/mesh_utils/mesh_utils.cpp
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
// NeL - MMORPG Framework <http://dev.ryzom.com/projects/nel/>
|
||||||
|
// Copyright (C) 2015 Winch Gate Property Limited
|
||||||
|
// Author: Jan Boon <jan.boon@kaetemi.be>
|
||||||
|
//
|
||||||
|
// This program is free software: you can redistribute it and/or modify
|
||||||
|
// it under the terms of the GNU Affero General Public License as
|
||||||
|
// published by the Free Software Foundation, either version 3 of the
|
||||||
|
// License, or (at your option) any later version.
|
||||||
|
//
|
||||||
|
// This program is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
// GNU Affero General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU Affero General Public License
|
||||||
|
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
void mesh_utils_placeholder()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
/* end of file */
|
20
code/nel/tools/3d/mesh_utils/mesh_utils.h
Normal file
20
code/nel/tools/3d/mesh_utils/mesh_utils.h
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
// NeL - MMORPG Framework <http://dev.ryzom.com/projects/nel/>
|
||||||
|
// Copyright (C) 2015 Winch Gate Property Limited
|
||||||
|
// Author: Jan Boon <jan.boon@kaetemi.be>
|
||||||
|
//
|
||||||
|
// This program is free software: you can redistribute it and/or modify
|
||||||
|
// it under the terms of the GNU Affero General Public License as
|
||||||
|
// published by the Free Software Foundation, either version 3 of the
|
||||||
|
// License, or (at your option) any later version.
|
||||||
|
//
|
||||||
|
// This program is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
// GNU Affero General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU Affero General Public License
|
||||||
|
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
void mesh_utils_placeholder();
|
||||||
|
|
||||||
|
/* end of file */
|
Loading…
Reference in a new issue