Skip to content
This repository has been archived by the owner on Oct 2, 2020. It is now read-only.

Feature/cMakeLists.txt #15

Open
wants to merge 10 commits into
base: camo-dev
Choose a base branch
from
32 changes: 32 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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})
2 changes: 1 addition & 1 deletion Sources/ebox.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/
Expand Down
1 change: 1 addition & 0 deletions Sources/ecommon.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down