Search found 4 matches

by smeeze
Mon Feb 18, 2013 12:10 pm
Forum: Driver development
Topic: per target compiler and linker flags
Replies: 6
Views: 15292

Re: per target compiler and linker flags

hi, my ogre.h issues are gone, but i cannot tell for sure if this was the fix. at the same time I made this change, I also found numerous CMake build dirs throughout the source, which off-course I removed since they might conflict. I usually set many compiler flags outside of CMake, so this definite...
by smeeze
Fri Feb 15, 2013 9:29 pm
Forum: Driver development
Topic: per target compiler and linker flags
Replies: 6
Views: 15292

Re: per target compiler and linker flags

answering my own question here. I found what was causing my issues. The -Wall option that is set in the CMakeFiles.txt causes all previous CMAKE_CXX_FLAGS to be erased. I propose the following patch(against svn): Index: CMakeLists.txt =================================================================...
by smeeze
Fri Feb 15, 2013 2:11 pm
Forum: Driver development
Topic: per target compiler and linker flags
Replies: 6
Views: 15292

Re: per target compiler and linker flags

Thank you, that did the trick. However I'm having other issues now, which probably have to be answered in another topic... It's the ogre.h not being found. Nothing I do makes any difference; installing debian provided packages, compiling ogre myself, cleaning all builds, using the openvibe provided ...
by smeeze
Tue Feb 12, 2013 8:54 pm
Forum: Driver development
Topic: per target compiler and linker flags
Replies: 6
Views: 15292

per target compiler and linker flags

Hi, I'm trying to build a new driver in OV. This driver depends on external software(headers+libs). How do I add compiler and linker flags to this specific driver without having all other created plugins also link to the external libs? Is there a 'per-target' CMakeLists.txt that I can edit? Yours, R...