mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-19 13:46:13 +00:00
Changed: Updated tools CMake projects
This commit is contained in:
parent
6a4d519887
commit
28f661b72b
13 changed files with 76 additions and 59 deletions
|
@ -1,4 +1,5 @@
|
|||
SUBDIRS( build_coarse_mesh
|
||||
SUBDIRS(
|
||||
build_coarse_mesh
|
||||
build_far_bank
|
||||
build_smallbank
|
||||
ig_lighter
|
||||
|
@ -22,31 +23,35 @@ SUBDIRS( build_coarse_mesh
|
|||
zone_check_bind
|
||||
zone_dump
|
||||
zviewer)
|
||||
IF(WIN32)
|
||||
ADD_SUBDIRECTORY(object_viewer)
|
||||
ADD_SUBDIRECTORY(object_viewer_exe)
|
||||
ADD_SUBDIRECTORY(tile_edit)
|
||||
|
||||
IF(WIN32)
|
||||
ADD_SUBDIRECTORY(ig_elevation)
|
||||
ADD_SUBDIRECTORY(lightmap_optimizer)
|
||||
|
||||
IF(MFC_FOUND)
|
||||
ADD_SUBDIRECTORY(object_viewer)
|
||||
ADD_SUBDIRECTORY(object_viewer_exe)
|
||||
ADD_SUBDIRECTORY(tile_edit)
|
||||
ENDIF(MFC_FOUND)
|
||||
|
||||
IF(WITH_MAXPLUGIN)
|
||||
IF(MAXSDK_FOUND)
|
||||
ADD_SUBDIRECTORY(plugin_max)
|
||||
ADD_SUBDIRECTORY(ligo)
|
||||
ENDIF(MAXSDK_FOUND)
|
||||
ENDIF(WITH_MAXPLUGIN)
|
||||
|
||||
ENDIF(WIN32)
|
||||
|
||||
IF(WITH_QT)
|
||||
ADD_SUBDIRECTORY(tile_edit_qt)
|
||||
ENDIF(WITH_QT)
|
||||
|
||||
IF(WITH_MAXPLUGIN)
|
||||
IF(MAXSDK_FOUND)
|
||||
ADD_SUBDIRECTORY(plugin_max)
|
||||
ADD_SUBDIRECTORY(ligo)
|
||||
ENDIF(MAXSDK_FOUND)
|
||||
ENDIF(WITH_MAXPLUGIN)
|
||||
|
||||
IF(SQUISH_FOUND)
|
||||
ADD_SUBDIRECTORY(panoply_maker)
|
||||
ADD_SUBDIRECTORY(tga_2_dds)
|
||||
ADD_SUBDIRECTORY(hls_bank_maker)
|
||||
ENDIF(SQUISH_FOUND)
|
||||
|
||||
# These use WIndows-specific things that need to be fixed.
|
||||
#ig_elevation
|
||||
#lightmap_optimizer
|
||||
#object_viewer_exe
|
||||
#hls_bank_maker
|
||||
#plugin_max
|
||||
#crash_log_analyser
|
||||
#shapes_exporter
|
||||
|
|
11
code/nel/tools/3d/hls_bank_maker/CMakeLists.txt
Normal file
11
code/nel/tools/3d/hls_bank_maker/CMakeLists.txt
Normal file
|
@ -0,0 +1,11 @@
|
|||
FILE(GLOB SRC *.cpp *.h ../panoply_maker/hls_bank_texture_info.cpp ../panoply_maker/hls_bank_texture_info.h ../s3tc_compressor_lib/*.cpp ../s3tc_compressor_lib/*.h)
|
||||
|
||||
ADD_EXECUTABLE(hls_bank_maker ${SRC})
|
||||
|
||||
INCLUDE_DIRECTORIES(${SQUISH_INCLUDE_DIR})
|
||||
|
||||
TARGET_LINK_LIBRARIES(hls_bank_maker ${PLATFORM_LINKFLAGS} ${SQUISH_LIBRARY} nelmisc nel3d)
|
||||
NL_DEFAULT_PROPS(hls_bank_maker "Tools, 3D: hls_bank_maker")
|
||||
NL_ADD_RUNTIME_FLAGS(hls_bank_maker)
|
||||
|
||||
INSTALL(TARGETS hls_bank_maker RUNTIME DESTINATION bin COMPONENT tools3d)
|
|
@ -2,7 +2,7 @@ FILE(GLOB SRC *.cpp *.h)
|
|||
|
||||
ADD_EXECUTABLE(ig_add ${SRC})
|
||||
|
||||
TARGET_LINK_LIBRARIES(ig_add ${PLATFORM_LINKFLAGS} nel3d)
|
||||
TARGET_LINK_LIBRARIES(ig_add ${PLATFORM_LINKFLAGS} nel3d nelmisc)
|
||||
NL_DEFAULT_PROPS(ig_add "Tools, 3D: ig_add")
|
||||
NL_ADD_RUNTIME_FLAGS(ig_add)
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ ADD_EXECUTABLE(ig_elevation ${SRC})
|
|||
|
||||
INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
|
||||
|
||||
TARGET_LINK_LIBRARIES(ig_elevation ${PLATFORM_LINKFLAGS} nelmisc nel3d)
|
||||
TARGET_LINK_LIBRARIES(ig_elevation ${PLATFORM_LINKFLAGS} nelmisc nel3d nelligo)
|
||||
NL_DEFAULT_PROPS(ig_elevation "Tools, 3D: ig_elevation")
|
||||
NL_ADD_RUNTIME_FLAGS(ig_elevation)
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@ FILE(GLOB SRC *.cpp *.h)
|
|||
|
||||
ADD_EXECUTABLE(lightmap_optimizer ${SRC})
|
||||
|
||||
TARGET_LINK_LIBRARIES(lightmap_optimizer ${PLATFORM_LINKFLAGS} nelmisc)
|
||||
TARGET_LINK_LIBRARIES(lightmap_optimizer ${PLATFORM_LINKFLAGS} nel3d nelmisc)
|
||||
NL_DEFAULT_PROPS(lightmap_optimizer "Tools, 3D: lightmap_optimizer")
|
||||
NL_ADD_RUNTIME_FLAGS(lightmap_optimizer)
|
||||
|
||||
|
|
|
@ -1,22 +1,27 @@
|
|||
SUBDIRS(misc)
|
||||
SUBDIRS(misc memory)
|
||||
|
||||
IF(WITH_3D)
|
||||
SUBDIRS(3d)
|
||||
ADD_SUBDIRECTORY(3d)
|
||||
ENDIF(WITH_3D)
|
||||
|
||||
IF(WITH_PACS)
|
||||
SUBDIRS(pacs)
|
||||
ADD_SUBDIRECTORY(pacs)
|
||||
ENDIF(WITH_PACS)
|
||||
|
||||
IF(WITH_LOGIC)
|
||||
SUBDIRS(logic)
|
||||
ADD_SUBDIRECTORY(logic)
|
||||
ENDIF(WITH_LOGIC)
|
||||
|
||||
IF(WITH_GEORGES)
|
||||
SUBDIRS(georges)
|
||||
ADD_SUBDIRECTORY(georges)
|
||||
ENDIF(WITH_GEORGES)
|
||||
|
||||
IF(WITH_SOUND)
|
||||
ADD_SUBDIRECTORY(sound)
|
||||
ENDIF(WITH_SOUND)
|
||||
|
||||
IF(WITH_TESTS)
|
||||
ADD_SUBDIRECTORY(nel_unit_test)
|
||||
ENDIF(WITH_TESTS)
|
||||
|
||||
#build_gamedata
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
IF(WIN32)
|
||||
SUBDIRS( logic_editor_dll
|
||||
logic_editor_exe)
|
||||
ENDIF(WIN32)
|
||||
IF(MFC_FOUND)
|
||||
SUBDIRS(logic_editor_dll logic_editor_exe)
|
||||
ENDIF(MFC_FOUND)
|
||||
|
|
1
code/nel/tools/memory/CMakeLists.txt
Normal file
1
code/nel/tools/memory/CMakeLists.txt
Normal file
|
@ -0,0 +1 @@
|
|||
SUBDIRS(memlog)
|
9
code/nel/tools/memory/memlog/CMakeLists.txt
Normal file
9
code/nel/tools/memory/memlog/CMakeLists.txt
Normal file
|
@ -0,0 +1,9 @@
|
|||
FILE(GLOB SRC *.cpp *.h)
|
||||
|
||||
ADD_EXECUTABLE(memlog ${SRC})
|
||||
|
||||
TARGET_LINK_LIBRARIES(memlog ${PLATFORM_LINKFLAGS} nelmisc)
|
||||
NL_DEFAULT_PROPS(memlog "Tools, Memory: memlog")
|
||||
NL_ADD_RUNTIME_FLAGS(memlog)
|
||||
|
||||
INSTALL(TARGETS memlog RUNTIME DESTINATION bin COMPONENT toolsmisc)
|
|
@ -1,8 +0,0 @@
|
|||
// stdafx.cpp : source file that includes just the standard includes
|
||||
// memlog.pch will be the pre-compiled header
|
||||
// stdafx.obj will contain the pre-compiled type information
|
||||
|
||||
#include "stdafx.h"
|
||||
|
||||
// TODO: reference any additional headers you need in STDAFX.H
|
||||
// and not in this file
|
|
@ -1,19 +0,0 @@
|
|||
// stdafx.h : include file for standard system include files,
|
||||
// or project specific include files that are used frequently, but
|
||||
// are changed infrequently
|
||||
//
|
||||
|
||||
#if !defined(AFX_STDAFX_H__39F9814B_8C9D_4AA7_958F_111437B98069__INCLUDED_)
|
||||
#define AFX_STDAFX_H__39F9814B_8C9D_4AA7_958F_111437B98069__INCLUDED_
|
||||
|
||||
#if _MSC_VER > 1000
|
||||
#pragma once
|
||||
#endif // _MSC_VER > 1000
|
||||
|
||||
|
||||
// TODO: reference additional headers your program requires here
|
||||
|
||||
//{{AFX_INSERT_LOCATION}}
|
||||
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
|
||||
|
||||
#endif // !defined(AFX_STDAFX_H__39F9814B_8C9D_4AA7_958F_111437B98069__INCLUDED_)
|
|
@ -1,7 +1,20 @@
|
|||
// memlog.cpp : Defines the entry point for the console application.
|
||||
// NeL - MMORPG Framework <http://dev.ryzom.com/projects/nel/>
|
||||
// Copyright (C) 2010 Winch Gate Property Limited
|
||||
//
|
||||
// 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 "stdafx.h"
|
||||
#include <nel/misc/types_nl.h>
|
||||
#include <nel/misc/common.h>
|
||||
#include <map>
|
||||
|
||||
|
|
1
code/nel/tools/sound/CMakeLists.txt
Normal file
1
code/nel/tools/sound/CMakeLists.txt
Normal file
|
@ -0,0 +1 @@
|
|||
|
Loading…
Reference in a new issue