Skip to content
This repository
tree: cc97059e5a
Fetching contributors…

Cannot retrieve contributors at this time

file 61 lines (48 sloc) 1.385 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 59 60 61
#/**********************************************************\
#
# Auto-generated CMakeLists.txt for the DepthJS Plugin project
#
#\**********************************************************/

# Written to work with cmake 2.6
cmake_minimum_required (VERSION 2.6)
set (CMAKE_BACKWARDS_COMPATIBILITY 2.6)

Project(${PLUGIN_NAME})

set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_SOURCE_DIR}/cmake/Modules/")

file (GLOB GENERAL RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
    [^.]*.cpp
    [^.]*.h
[^.]*.hpp
    [^.]*.cmake
${CMAKE_MODULE_PATH}/*
    )

include_directories(${PLUGIN_INCLUDE_DIRS})

# Generated files are stored in ${GENERATED} by the project configuration
SET_SOURCE_FILES_PROPERTIES(
    ${GENERATED}
    PROPERTIES
        GENERATED 1
    )

SOURCE_GROUP(Generated FILES
    ${GENERATED}
    )

SET( SOURCES
    ${GENERAL}
    ${GENERATED}
    )

find_package(OpenNI)
if(NOT OPENNI_FOUND)
message(STATUS "Can't find OpenNI!")
else()
message(STATUS "OpenNI found in ${OpenNI_INCLUDE_DIRS}")
endif()
include_directories(${OpenNI_INCLUDE_DIRS})


find_package(NITE)
if(NOT NITE_FOUND)
message(STATUS "Can't find NITE!")
else()
message(STATUS "NITE found in ${NITE_INCLUDE_DIRS}")
endif()
include_directories(${NITE_INCLUDE_DIRS})


# This will include Win/projectDef.cmake, X11/projectDef.cmake, Mac/projectDef
# depending on the platform
include_platform()
Something went wrong with that request. Please try again.