|
@@ -9,10 +9,18 @@ function(set_as_hdll target)
|
|
|
)
|
|
|
endfunction()
|
|
|
|
|
|
-add_subdirectory(bullet)
|
|
|
+if(WIN32)
|
|
|
+ option(WITH_BULLET "Build bullet.hdll." ON)
|
|
|
+ if(WITH_BULLET)
|
|
|
+ add_subdirectory(bullet)
|
|
|
+ endif()
|
|
|
+endif()
|
|
|
|
|
|
if(WIN32)
|
|
|
- add_subdirectory(directx)
|
|
|
+ option(WITH_DIRECTX "Build directx.hdll." ON)
|
|
|
+ if(WITH_DIRECTX)
|
|
|
+ add_subdirectory(directx)
|
|
|
+ endif()
|
|
|
endif()
|
|
|
|
|
|
option(WITH_FMT "Build fmt.hdll." ON)
|