#- # ========================================================================== # Copyright (c) 2018 Autodesk, Inc. # All rights reserved. # # These coded instructions, statements, and computer programs contain # unpublished proprietary information written by Autodesk, Inc., and are # protected by Federal copyright law. They may not be disclosed to third # parties or copied or duplicated in any form, in whole or in part, without # the prior written consent of Autodesk, Inc. # ========================================================================== #+ cmake_minimum_required(VERSION 3.13) # include the project setting file include($ENV{DEVKIT_LOCATION}/cmake/pluginEntry.cmake) # specify project name set(PROJECT_NAME xgenSeExpr) # set SOURCE_FILES set(SOURCE_FILES register.cpp xgTex2DFunc.cpp xgTex2DFunc.h README.txt ) # set linking libraries set(LIBRARIES AdskXGen AdskSeExpr ) find_package(XGen REQUIRED) if (XGEN_FOUND) set(INCLUDE_DIRS ${INCLUDE_DIRS} ${XGEN_INCLUDE_DIR}) set(LIBRARY_DIRS ${LIBRARY_DIRS} ${XGEN_LIB_DIR}) endif() find_arnold() # Build plugin build_plugin()