Hello,
I am starting out for the first time with the plugin tutorials example and have the latest Visual Studio 2017 which has CMake built in. Here is the CMakeLists.txt for the uiTut plugin:
#_______________________Pmake___________________________________________________
#
# Makefile : Tutorial plugin
# Jan 2012 K. Tingdahl
# RCS : $Id$
#_______________________________________________________________________________
set(OD_MODULE_NAME hello)
set(OD_IS_PLUGIN 1 )
set(OD_MODULE_DEPS uiODMain Tut)
set(OD_MODULE_SOURCES
uitutseistools.cc
uituthortools.cc
uitutorialattrib.cc
uitutwelltools.cc
uitutpi.cc)
SET( OD_PLUGIN_ALO_EXEC ${OD_MAIN_EXEC} )
SET( OD_NO_ALO_ENTRY 1 )
OD_INIT_MODULE()
The problem is when I run CMake the error is with the last line: Unknown CMake command "OD_INIT_MODULE"
I just thought I would ask if anyone else has tried this, i.e. is this still the correct syntax for CMake?
Thanks,
Euan Anderson