24 lines
684 B
CMake
24 lines
684 B
CMake
|
|
#project packages
|
|
|
|
set(JASPER_BUILD_PLAYER ON CACHE BOOL "Build Player")
|
|
set(JASPER_BUILD_STUDIO ON CACHE BOOL "Build Studio")
|
|
|
|
if(BUILDCORE_TARGET STREQUAL "gba")
|
|
set(JASPER_BUILD_STUDIO OFF)
|
|
endif()
|
|
|
|
if(APPLE)
|
|
set(JASPER_DIST_BIN JasperStudio.app/Contents/MacOS)
|
|
set(JASPER_DIST_LIB JasperStudio.app/Contents/Library)
|
|
set(JASPER_DIST_MODULE JasperStudio.app/Contents/Plugins)
|
|
set(JASPER_DIST_RESOURCES JasperStudio.app/Contents/Resources)
|
|
set(JASPER_DIST_MAC_APP_CONTENTS JasperStudio.app/Contents)
|
|
endif()
|
|
|
|
add_subdirectory(modules)
|
|
add_subdirectory(player)
|
|
if(NOT BUILDCORE_TARGET STREQUAL "gba")
|
|
add_subdirectory(tools)
|
|
endif()
|