Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

48 lines (32 sloc) 1.657 kb
if( ANDROID )
add_library( openzone SHARED openzone.cc )
use_pch( openzone pch )
target_link_libraries( openzone client modules nirvana matrix common )
set( jniLibPath ${CMAKE_BINARY_DIR}/../Android/libs/${PLATFORM_PROC_PREFIX}/libopenzone.so )
add_custom_command( OUTPUT ${jniLibPath} DEPENDS openzone
COMMAND ${CMAKE_COMMAND} -E copy libopenzone.so ${jniLibPath} )
add_custom_target( openzone_android ALL DEPENDS android_project ${jniLibPath} )
elseif( NACL )
add_executable( openzone openzone.cc )
use_pch( openzone pch )
target_link_libraries( openzone client modules nirvana matrix common )
set_target_properties( openzone PROPERTIES OUTPUT_NAME openzone${PLATFORM_EXE_SUFFIX} )
else()
add_executable( openzone openzone.cc )
use_pch( openzone pch )
target_link_libraries( openzone client modules nirvana matrix common )
install( TARGETS openzone RUNTIME DESTINATION bin${OZ_BINARY_SUBDIR} )
add_executable( ozBuild ozBuild.cc )
use_pch( ozBuild pch )
target_link_libraries( ozBuild builder client modules nirvana matrix common )
install( TARGETS ozBuild RUNTIME DESTINATION bin${OZ_BINARY_SUBDIR} )
add_executable( ozGettext ozGettext.cc )
target_link_libraries( ozGettext ozCore )
install( TARGETS ozGettext RUNTIME DESTINATION bin${OZ_BINARY_SUBDIR} )
add_executable( ozManifest ozManifest.cc )
target_link_libraries( ozManifest ozCore )
install( TARGETS ozManifest RUNTIME DESTINATION bin${OZ_BINARY_SUBDIR} )
install( DIRECTORY ${CMAKE_SOURCE_DIR}/share/applications
${CMAKE_SOURCE_DIR}/share/pixmaps
DESTINATION share )
endif()
Jump to Line
Something went wrong with that request. Please try again.