Hi Robert,
there are several ways to "include" Wakaama into eclipse CDT, each with advantages and disadvantages (find out by yourself
J ).
Wakaama is a "cmake" project and there are several hints in the web, how to integrate a cmake project into eclipse.
I choose a "manual" way. Therefore I create several eclipse projects:
1. "core" project (static link library, wakaama/core).
2. "utils" project (static link library, wakaama/tests/utils)
3. "client" project (executable, Wakaama/tests/client)
4. "server" project (executable, Wakaama/tests/server)
For the "core" you need to setup different configurations for client mode and for the server mode.
And the client configurations need to reference the "utils" and the related "core" configurations. The same must be done for server configurations.
To get the precompiler definitions, just use cmake to create a client and server and lookup those definitions there
(e.g. LWM2M_CLIENT_MODE for "client" and "core" – "client configuration", LWM2M_SERVER_MODE for "server" and "core" – "server configuration").
Mit freundlichen Grüßen / Best regards
Achim Kraus
Bosch Software Innovations GmbH
Communications (INST/ESY4)
Stuttgarter Straße 130
71332 Waiblingen
GERMANY
www.bosch-si.de
www.blog.bosch-si.com
achim.kraus@xxxxxxxxxxxx
Registered office: Berlin, Register court: Amtsgericht Charlottenburg, HRB 148411 B
Executives: Dr.-Ing. Rainer Kallenbach; Michael Hahn