Hi all,

well I have spent the last two days in trying to get the build and the build of 
the "boost" dependency working.
Ich has proven to be "chanllenging". After giving up with trying to fix C++ 
problems in IntelliJ I tried out CLion (IntelliJ for C and C++)
Internally they rely on CMake for building (https://cmake.org/) so I had a look 
at this: 

"CMake is an open-source, cross-platform family of tools designed to build, 
test and package software. CMake is used to control the software compilation 
process using simple platform and compiler independent configuration files, and 
generate native makefiles and workspaces that can be used in the compiler 
environment of your choice."

That sounds promising. Also there seems to be Maven support: 
https://github.com/cmake-maven-project/cmake-maven-project

I think this could be a better option than using the native-maven-plugin which 
seems to have not been updated for a looooooong time.

I'll experiment a little more on this ...

Chris


Am 20.12.18, 15:32 schrieb "Christofer Dutz" <[email protected]>:

    Hi all,
    
    I just pushed an initial commit of the C++ API Markus sent me. Thanks a lot 
for that :-)
    
    It took a little time to setup the plugins to build with maven … however I 
haven’t been able to fully run the compilation as I managed to fix most things, 
but am having some error I simply don’t understand in the Exception classes.
    
    In order to enable the C++ stuff, just comment in the “api” module in the 
plc4cpp modules pom.xml
    
    Looking forward to some discussions on this.
    
    Please treat both the build integration as well as the API itself as a 
basis for discussion. From the build side, It’s just one option that generally 
seems to work. If there are better options, I’d be happy to hear/see them.
    
    Chris
    

Reply via email to