Has anybody tried using CLion to build Cinder?


#1

Hi guys.

Anybody tried using CLion to build Cinder?

A


#2

hey man this should work out of the box on osx and linux for cinder and projects. I don’t know if anyone has had luck on windows although I did notice that you can now build cinder using cmake on windows when sussing out this exciting pull request for gstreamer video playback on win:


#3

Android NDK on windows has come on a lot bit it’s still a bit of a PITA. Might be worth revisiting though - the IDE has moved on loads.


#4

I use CLion to build Cinder on macOS. It’s really easy, here’s my CMakeLists.txt:

No other configuration was needed for me, all completion and intellisense works perfectly

cmake_minimum_required(VERSION 3.10)
project(cinder)

set(CMAKE_CXX_STANDARD 14)

get_filename_component( CINDER_PATH "~/cinder_master" ABSOLUTE )

include( "${CINDER_PATH}/proj/cmake/modules/cinderMakeApp.cmake" )

ci_make_app(
        APP_NAME "CinderExample"
        CINDER_PATH ${CINDER_PATH}
        SOURCES main.cpp
)