CMakeLists.txt 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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. add_subdirectory(ThirdParty)
  12. add_subdirectory(Atomic)
  13. if (ATOMIC_JAVASCRIPT)
  14. add_subdirectory(AtomicPlayer)
  15. add_subdirectory(AtomicJS)
  16. add_subdirectory(AtomicPlayerJS)
  17. endif ()
  18. if (ATOMIC_WEBVIEW)
  19. add_subdirectory(AtomicWebView)
  20. endif ()
  21. if (ATOMIC_DOTNET)
  22. add_subdirectory(AtomicApp)
  23. add_subdirectory(AtomicNET)
  24. endif ()
  25. # Add our project native source module
  26. add_subdirectory(MyProject)
  27. if (ATOMIC_DESKTOP)
  28. if (ATOMIC_DOTNET OR ATOMIC_JAVASCRIPT)
  29. add_subdirectory(AtomicTool)
  30. endif ()
  31. add_subdirectory(Tools)
  32. add_subdirectory(ToolCore)
  33. if (ATOMIC_JAVASCRIPT)
  34. add_subdirectory(ToolCoreJS)
  35. endif ()
  36. if (ATOMIC_WEBVIEW AND ATOMIC_EDITOR)
  37. add_subdirectory(AtomicEditor)
  38. endif ()
  39. endif ()
  40. include(AtomicDocList)