mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-14 10:37:41 -04:00
Compile plFontConverter if Freetype available
This commit is contained in:
@ -1,8 +1,11 @@
|
||||
#add_subdirectory(Migration)
|
||||
#add_subdirectory(plDatMerger)
|
||||
#add_subdirectory(plFontConverter)
|
||||
add_subdirectory(plResBrowser)
|
||||
|
||||
if(FREETYPE_FOUND)
|
||||
add_subdirectory(plFontConverter)
|
||||
endif()
|
||||
|
||||
# Max Stuff goes below here...
|
||||
if(3dsm_BUILD_PLUGIN)
|
||||
add_definitions(-DMAXPLUGINCODE)
|
||||
|
51
Sources/Tools/plFontConverter/CMakeLists.txt
Normal file
51
Sources/Tools/plFontConverter/CMakeLists.txt
Normal file
@ -0,0 +1,51 @@
|
||||
include_directories("../../Plasma/CoreLib")
|
||||
include_directories("../../Plasma/NucleusLib")
|
||||
include_directories("../../Plasma/NucleusLib/inc")
|
||||
include_directories("../../Plasma/PubUtilLib")
|
||||
include_directories(${FREETYPE_INCLUDE_DIRS})
|
||||
|
||||
set(plFontConverter_HEADERS
|
||||
plFontFreeType.h
|
||||
)
|
||||
|
||||
set(plFontConverter_SOURCES
|
||||
plFontConverter.cpp
|
||||
plFontConverterProc.cpp
|
||||
plFontFreeType.cpp
|
||||
)
|
||||
|
||||
set(plFontConverter_RESOURCES
|
||||
res/plFontConverter.rc
|
||||
res/resource.h
|
||||
res/icon1.ico
|
||||
)
|
||||
|
||||
add_executable(plFontConverter WIN32 ${plFontConverter_SOURCES} ${plFontConverter_HEADERS} ${plFontConverter_RESOURCES})
|
||||
|
||||
target_link_libraries(plFontConverter CoreLib)
|
||||
target_link_libraries(plFontConverter CoreLibExe)
|
||||
target_link_libraries(plFontConverter pnKeyedObject)
|
||||
target_link_libraries(plFontConverter pnSceneObject)
|
||||
target_link_libraries(plFontConverter pnProduct)
|
||||
target_link_libraries(plFontConverter plGImage)
|
||||
target_link_libraries(plFontConverter plJPEG)
|
||||
target_link_libraries(plFontConverter plMessage)
|
||||
target_link_libraries(plFontConverter plPipeline)
|
||||
target_link_libraries(plFontConverter plResMgr)
|
||||
target_link_libraries(plFontConverter ${JPEG_LIBRARY})
|
||||
target_link_libraries(plFontConverter ${DirectX_LIBRARIES})
|
||||
target_link_libraries(plFontConverter ${FREETYPE_LIBRARIES})
|
||||
|
||||
if (WIN32)
|
||||
target_link_libraries(plFontConverter Rpcrt4)
|
||||
target_link_libraries(plFontConverter Vfw32)
|
||||
target_link_libraries(plFontConverter Ws2_32)
|
||||
target_link_libraries(plFontConverter winmm)
|
||||
target_link_libraries(plFontConverter strmiids)
|
||||
target_link_libraries(plFontConverter comctl32)
|
||||
target_link_libraries(plFontConverter shlwapi)
|
||||
endif(WIN32)
|
||||
|
||||
source_group("Source Files" FILES ${plFontConverter_SOURCES})
|
||||
source_group("Header Files" FILES ${plFontConverter_HEADERS})
|
||||
source_group("Resource Files" FILES ${plFontConverter_RESOURCES})
|
@ -51,10 +51,10 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
#include "hsStream.h"
|
||||
#include "hsResMgr.h"
|
||||
#include "plFontFreeType.h"
|
||||
#include "../plGImage/plFont.h"
|
||||
#include "../plGImage/plMipmap.h"
|
||||
#include "../pnKeyedObject/plUoid.h"
|
||||
#include "../pnKeyedObject/plKeyImp.h"
|
||||
#include "plGImage/plFont.h"
|
||||
#include "plGImage/plMipmap.h"
|
||||
#include "pnKeyedObject/plUoid.h"
|
||||
#include "pnKeyedObject/plKeyImp.h"
|
||||
|
||||
|
||||
extern HINSTANCE gInstance;
|
||||
|
@ -47,7 +47,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
// //
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#include "plFont.h"
|
||||
#include "plGImage/plFont.h"
|
||||
|
||||
class plFontFreeType : public plFont
|
||||
{
|
||||
|
Reference in New Issue
Block a user