Configure CMake

40 views
Skip to first unread message

Pfaeff

unread,
Aug 14, 2017, 10:05:40 AM8/14/17
to ngrest
Hi there,

I added some external dependencies to the CMakeLists.txt of my project that I would like to configure somehow. At the moment I am using ccmake for that.
When I use that and then follow it up by "make", everything seems to compile, but when using "ngrest", I get several error messages.

What is the recommended way of configuring external dependencies with ngrest?

Greetings,
Pfaeff

Dmitry Utkin

unread,
Aug 17, 2017, 2:36:47 PM8/17/17
to ngrest
Hi,

Adding external dependencies into  CMakeLists.txt is the correct way.

Which errors exactly you get when you start ngrest?

Do you have the same errors when you only build project without deploying using?: 
ngrest build


понедельник, 14 августа 2017 г., 17:05:40 UTC+3 пользователь Pfaeff написал:

Pfaeff

unread,
Aug 18, 2017, 2:52:39 AM8/18/17
to ngrest
I can't remember. I solved it using a .cmake file where I hardcoded all the parameters I needed. 
Seems like the compilation with ngrest doesn't use the configuration created by ccmake. 
It also doesn't call "make install", which I need for some of my own libraries to show up in the right places. Right now I do a "cmake ." followed by "make install" and then finally "ngrest".

Greetings,
Pfaeff
Reply all
Reply to author
Forward
0 new messages