diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..4406dc8 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,32 @@ +cmake_minimum_required(VERSION 3.0) +project(CicmWrapper) + +message("Configuring CicmWrapper") + +add_definitions(-O2 -fPIC) + +include_directories(${PD_MAIN_PATH}/src) + +set(PROJECT_SRCS + Sources/ebox.c + Sources/eclass.c + Sources/ecommon.c + Sources/egraphics.c + Sources/eobj.c + Sources/epopup.c +) + +set(PROJECT_HDRS + Sources/cicm_wrapper.h + Sources/ebox.h + Sources/eclass.h + Sources/ecommon.h + Sources/edefine.h + Sources/egraphics.h + Sources/enative.h + Sources/eobj.h + Sources/epdmax.h + Sources/epopup.h +) + +add_library(${PROJECT_NAME} ${PROJECT_SRCS}) diff --git a/Sources/ebox.h b/Sources/ebox.h index 18f78b1..1b93272 100644 --- a/Sources/ebox.h +++ b/Sources/ebox.h @@ -46,7 +46,7 @@ void ebox_ready(t_ebox *x); /*! * \fn void ebox_free(t_ebox* x) - * \brief Indicates that the t_ebox can be drawn. + * \brief Free the object. * \details Deletes the drawings. \n This function should replace pd_free() and you shouldn't have to call eobj_free() or eobj_dspfree(); * \param x The t_ebox pointer. */ diff --git a/Sources/ecommon.h b/Sources/ecommon.h index 0b60c41..412d73a 100644 --- a/Sources/ecommon.h +++ b/Sources/ecommon.h @@ -20,6 +20,7 @@ #include "edefine.h" +// TODO av : method documentation void object_method(void* x, t_symbol* s, void* z, t_typ_method method, long number, void* other); /*! @addtogroup groupcommon The Common Part