Changeset View
Changeset View
Standalone View
Standalone View
src/CMakeLists.txt
Show First 20 Lines • Show All 61 Lines • ▼ Show 20 Line(s) | |||||
62 | option(BUILD_MARBLE_APPS "Build Marble Desktop/Mobile applications" ON) | 62 | option(BUILD_MARBLE_APPS "Build Marble Desktop/Mobile applications" ON) | ||
63 | add_feature_info("Marble Desktop/Mobile applications" BUILD_MARBLE_APPS "Build Marble Desktop/Mobile applications. Toggle with BUILD_MARBLE_APPS=YES/NO.") | 63 | add_feature_info("Marble Desktop/Mobile applications" BUILD_MARBLE_APPS "Build Marble Desktop/Mobile applications. Toggle with BUILD_MARBLE_APPS=YES/NO.") | ||
64 | if(BUILD_MARBLE_APPS) | 64 | if(BUILD_MARBLE_APPS) | ||
65 | add_subdirectory( apps ) | 65 | add_subdirectory( apps ) | ||
66 | endif() | 66 | endif() | ||
67 | 67 | | |||
68 | add_subdirectory( bindings ) | 68 | add_subdirectory( bindings ) | ||
69 | 69 | | |||
70 | if(APPLE AND NOT APPLE_STANDALONE_BUNDLE) | ||||
71 | set(APPLE_STANDARD_UNIX_BUILD ON) | ||||
72 | endif() | ||||
70 | configure_file( | 73 | configure_file( | ||
71 | ${CMAKE_CURRENT_SOURCE_DIR}/config-marble.h.cmake | 74 | ${CMAKE_CURRENT_SOURCE_DIR}/config-marble.h.cmake | ||
72 | ${CMAKE_CURRENT_BINARY_DIR}/config-marble.h | 75 | ${CMAKE_CURRENT_BINARY_DIR}/config-marble.h | ||
73 | ) | 76 | ) | ||
74 | 77 | | |||
75 | if(APPLE) | 78 | if(APPLE AND APPLE_STANDALONE_BUNDLE) | ||
76 | add_subdirectory( mac ) | 79 | add_subdirectory( mac ) | ||
77 | endif(APPLE) | 80 | endif(APPLE AND APPLE_STANDALONE_BUNDLE) | ||
78 | 81 | | |||
79 | add_subdirectory( plasma ) | 82 | add_subdirectory( plasma ) | ||
80 | add_subdirectory( plasmarunner ) | 83 | add_subdirectory( plasmarunner ) | ||
81 | add_subdirectory( thumbnailer ) | 84 | add_subdirectory( thumbnailer ) |