Skip to content
This repository
tree: cc97059e5a
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 59 lines (45 sloc) 1.516 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58
#/**********************************************************\
# Auto-generated Mac project definition file for the
# DepthJS Plugin project
#\**********************************************************/

# Mac template platform definition CMake file
# Included from ../CMakeLists.txt

# remember that the current source dir is the project root; this file is in Mac/
file (GLOB PLATFORM RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
    Mac/[^.]*.cpp
    Mac/[^.]*.h
    Mac/[^.]*.cmake
Mac/[^.]*.mm
    )

# use this to add preprocessor definitions
add_definitions(
    
)

find_library(OPENGL_FRAMEWORK OpenGL)
find_library(QUARTZ_CORE_FRAMEWORK QuartzCore)
find_library(CORE_FOUNDATION_FRAMEWORK CoreFoundation)

include_directories(${CORE_FOUNDATION_FRAMEWORK})
 
set(OPENNI_XML_FILE "Sample-Tracking.xml")
set_source_files_properties(
${OPENNI_XML_FILE}
PROPERTIES
MACOSX_PACKAGE_LOCATION "Resources"
)

SOURCE_GROUP(Mac FILES ${PLATFORM})

set (SOURCES
    ${SOURCES}
    ${PLATFORM}
${OPENNI_XML_FILE}
    )

set(PLIST "Mac/bundle_template/Info.plist")
set(STRINGS "Mac/bundle_template/InfoPlist.strings")
set(LOCALIZED "Mac/bundle_template/Localized.r")

add_mac_plugin(${PROJECT_NAME} ${PLIST} ${STRINGS} ${LOCALIZED} SOURCES)


# add library dependencies here; leave ${PLUGIN_INTERNAL_DEPS} there unless you know what you're doing!
target_link_libraries(${PROJECT_NAME}
    ${PLUGIN_INTERNAL_DEPS}
${OPENGL_FRAMEWORK}
${QUARTZ_CORE_FRAMEWORK}
${CORE_FOUNDATION_FRAMEWORK}
${OpenNI_LIBS}
${NITE_LIBS}
    )
Something went wrong with that request. Please try again.