mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-21 04:39:45 +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(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)
|
||||
find_package(MaxSDK REQUIRED)
|
||||
add_definitions(-DBUILDING_MAXPLUGIN)
|
||||
|
@ -1,8 +1,10 @@
|
||||
add_subdirectory(plClient)
|
||||
add_subdirectory(plCrashHandler)
|
||||
if(WIN32)
|
||||
add_subdirectory(plClient)
|
||||
add_subdirectory(plCrashHandler)
|
||||
|
||||
if(PLASMA_BUILD_LAUNCHER)
|
||||
add_subdirectory(plUruLauncher)
|
||||
if(PLASMA_BUILD_LAUNCHER)
|
||||
add_subdirectory(plUruLauncher)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if(PLASMA_BUILD_TOOLS)
|
||||
@ -11,4 +13,12 @@ if(PLASMA_BUILD_TOOLS)
|
||||
add_subdirectory(plFileEncrypt)
|
||||
add_subdirectory(plPageInfo)
|
||||
add_subdirectory(plPageOptimizer)
|
||||
|
||||
add_dependencies(tools
|
||||
plPythonPack
|
||||
plFileSecure
|
||||
plFileEncrypt
|
||||
plPageInfo
|
||||
plPageOptimizer
|
||||
)
|
||||
endif()
|
||||
|
@ -4,9 +4,20 @@ if(PLASMA_BUILD_TOOLS)
|
||||
|
||||
add_subdirectory(plLocalizationEditor)
|
||||
add_subdirectory(plResBrowser)
|
||||
add_subdirectory(plShaderAssembler)
|
||||
|
||||
add_dependencies(tools
|
||||
plLocalizationEditor
|
||||
plResBrowser
|
||||
)
|
||||
|
||||
if(WIN32)
|
||||
add_subdirectory(plShaderAssembler)
|
||||
add_dependencies(tools plShaderAssembler)
|
||||
endif()
|
||||
|
||||
if(FREETYPE_FOUND)
|
||||
add_subdirectory(plFontConverter)
|
||||
add_dependencies(tools plFontConverter)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
|
Reference in New Issue
Block a user