add CM_BUILD_TOOLS and CM_BUILD_EXAMPLES options
This commit is contained in:
@@ -20,5 +20,15 @@ use_cm_module(AssetsManage)
|
|||||||
|
|
||||||
CMUtilSetup(${CMAKE_CURRENT_SOURCE_DIR}/CMUtil)
|
CMUtilSetup(${CMAKE_CURRENT_SOURCE_DIR}/CMUtil)
|
||||||
|
|
||||||
add_subdirectory(TexConv)
|
OPTION(CM_BUILD_TOOLS OFF)
|
||||||
add_subdirectory(ShaderMaker)
|
|
||||||
|
if(CM_BUILD_TOOLS)
|
||||||
|
add_subdirectory(TexConv)
|
||||||
|
add_subdirectory(ShaderMaker)
|
||||||
|
endif(CM_BUILD_TOOLS)
|
||||||
|
|
||||||
|
OPTION(CM_BUILD_EXAMPLES OFF)
|
||||||
|
|
||||||
|
if(CM_BUILD_EXAMPLES)
|
||||||
|
add_subdirectory(Examples)
|
||||||
|
endif(CM_BUILD_EXAMPLES)
|
||||||
|
Submodule ShaderMaker updated: 93f513da46...ba88a20580
Reference in New Issue
Block a user