add CM_BUILD_TOOLS and CM_BUILD_EXAMPLES options
This commit is contained in:
parent
3f09f5e11b
commit
083f315449
@ -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)
|
||||||
|
@ -1 +1 @@
|
|||||||
Subproject commit 93f513da46d020958c992754228eefd2db8d8675
|
Subproject commit ba88a205803a716771bdc9ff0acc25333cfe4e1f
|
Loading…
x
Reference in New Issue
Block a user