Project

General

Profile

Auth1 examples - Help compiling standalone example - clion *NEWBIE*

Added by Giovanni Marchetto almost 5 years ago

Hi All,

I'm struggling with the study of wt; for convenience I'm using CLION as an ide which natively supports cmake. However, i'm unable to compile the examples individually. I tried using the cmake file of the root directory with CLION without success.

My idea to better understand the principles, is to compile the examples individually (and thus have a cmakeList.txt for each)

Would anyone know how to give me some advice?

Thank you very much.

P.S. Someone skilled with Wt can make a videocourse on udemy on similiar platform?

We do not have many financial resources but if more than someone was interested in wt i think we might be able to raise some money for a video course! :)


Replies (1)

RE: Auth1 examples - Help compiling standalone example - clion *NEWBIE* - Added by Wim Dumon almost 5 years ago

Hi Giovanni,

The CMakeLists.txt files included in the Wt examples are not meant to be used as top level CMakeLists.txt files. You will need to adapt or rewrite them. Other than that, the examples are self-contained and can be built separately.

I'm not familiar with CLION, but most build systems do allow to build a single target separately. With make, you type make in the subdirectory of the example. With MSVS, you right-click and select build. Probably this function also exists in CLION?

Best regards,

Wim.

    (1-1/1)