CMakeLists.txt 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. option(ATOMIC_JAVASCRIPT "Build JS Bindings" ON)
  2. if (WEB)
  3. set(ATOMIC_DOTNET OFF)
  4. else ()
  5. option(ATOMIC_DOTNET "Build .NET Bindings" ON)
  6. endif ()
  7. option(ATOMIC_EDITOR "Build Editor" ON)
  8. option(ATOMIC_DATABASE_SQLITE "Enable SQLite database subsystem" OFF)
  9. option(ATOMIC_DATABASE_ODBC "Enable ODBC database subsystem" OFF)
  10. option(ATOMIC_IK "Enable inverse kinematics subsystem" OFF)
  11. option(ATOMIC_GLOW "Build Atomic Glow" ON)
  12. option(ATOMIC_GLOW_WINDOWS_SUBSYSTEM "Enable WINDOWS subsystem, otherwise CONSOLE is used" ON)
  13. add_subdirectory(ThirdParty)
  14. add_subdirectory(Atomic)
  15. if (ATOMIC_JAVASCRIPT)
  16. add_subdirectory(AtomicPlayer)
  17. add_subdirectory(AtomicJS)
  18. add_subdirectory(AtomicPlayerJS)
  19. endif ()
  20. if (ATOMIC_WEBVIEW)
  21. add_subdirectory(AtomicWebView)
  22. endif ()
  23. if (ATOMIC_DOTNET)
  24. add_subdirectory(AtomicApp)
  25. add_subdirectory(AtomicNET)
  26. endif ()
  27. if (ATOMIC_DESKTOP)
  28. if (ATOMIC_GLOW)
  29. add_subdirectory(AtomicGlow)
  30. endif ()
  31. if (ATOMIC_DOTNET OR ATOMIC_JAVASCRIPT)
  32. add_subdirectory(AtomicTool)
  33. endif ()
  34. add_subdirectory(Tools)
  35. add_subdirectory(ToolCore)
  36. if (ATOMIC_JAVASCRIPT)
  37. add_subdirectory(ToolCoreJS)
  38. endif ()
  39. if (ATOMIC_WEBVIEW AND ATOMIC_EDITOR)
  40. add_subdirectory(AtomicEditor)
  41. endif ()
  42. endif ()
  43. include(AtomicDocList)