mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-18 11:19:10 +00:00
Add a tools meta-target
This commit is contained in:
@ -108,6 +108,11 @@ option(PLASMA_BUILD_TOOLS "Do we want to build the Plasma tools?" ON)
|
|||||||
option(PLASMA_BUILD_TESTS "Do we want to build the unit tests?" OFF)
|
option(PLASMA_BUILD_TESTS "Do we want to build the unit tests?" OFF)
|
||||||
option(3dsm_BUILD_PLUGIN "Do we want to build the 3ds Max plugin?" OFF)
|
option(3dsm_BUILD_PLUGIN "Do we want to build the 3ds Max plugin?" OFF)
|
||||||
|
|
||||||
|
if(PLASMA_BUILD_TOOLS)
|
||||||
|
# Custom dummy target for compiling all tools
|
||||||
|
add_custom_target(tools)
|
||||||
|
endif()
|
||||||
|
|
||||||
if(3dsm_BUILD_PLUGIN)
|
if(3dsm_BUILD_PLUGIN)
|
||||||
find_package(MaxSDK REQUIRED)
|
find_package(MaxSDK REQUIRED)
|
||||||
add_definitions(-DBUILDING_MAXPLUGIN)
|
add_definitions(-DBUILDING_MAXPLUGIN)
|
||||||
|
@ -1,8 +1,10 @@
|
|||||||
add_subdirectory(plClient)
|
if(WIN32)
|
||||||
add_subdirectory(plCrashHandler)
|
add_subdirectory(plClient)
|
||||||
|
add_subdirectory(plCrashHandler)
|
||||||
|
|
||||||
if(PLASMA_BUILD_LAUNCHER)
|
if(PLASMA_BUILD_LAUNCHER)
|
||||||
add_subdirectory(plUruLauncher)
|
add_subdirectory(plUruLauncher)
|
||||||
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(PLASMA_BUILD_TOOLS)
|
if(PLASMA_BUILD_TOOLS)
|
||||||
@ -11,4 +13,12 @@ if(PLASMA_BUILD_TOOLS)
|
|||||||
add_subdirectory(plFileEncrypt)
|
add_subdirectory(plFileEncrypt)
|
||||||
add_subdirectory(plPageInfo)
|
add_subdirectory(plPageInfo)
|
||||||
add_subdirectory(plPageOptimizer)
|
add_subdirectory(plPageOptimizer)
|
||||||
|
|
||||||
|
add_dependencies(tools
|
||||||
|
plPythonPack
|
||||||
|
plFileSecure
|
||||||
|
plFileEncrypt
|
||||||
|
plPageInfo
|
||||||
|
plPageOptimizer
|
||||||
|
)
|
||||||
endif()
|
endif()
|
||||||
|
@ -4,9 +4,20 @@ if(PLASMA_BUILD_TOOLS)
|
|||||||
|
|
||||||
add_subdirectory(plLocalizationEditor)
|
add_subdirectory(plLocalizationEditor)
|
||||||
add_subdirectory(plResBrowser)
|
add_subdirectory(plResBrowser)
|
||||||
add_subdirectory(plShaderAssembler)
|
|
||||||
|
add_dependencies(tools
|
||||||
|
plLocalizationEditor
|
||||||
|
plResBrowser
|
||||||
|
)
|
||||||
|
|
||||||
|
if(WIN32)
|
||||||
|
add_subdirectory(plShaderAssembler)
|
||||||
|
add_dependencies(tools plShaderAssembler)
|
||||||
|
endif()
|
||||||
|
|
||||||
if(FREETYPE_FOUND)
|
if(FREETYPE_FOUND)
|
||||||
add_subdirectory(plFontConverter)
|
add_subdirectory(plFontConverter)
|
||||||
|
add_dependencies(tools plFontConverter)
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user