CMakeList of transmitTest

This forum covers PCAN-Linux and Linux development issues concerning our products
Post Reply
dMann
Posts: 1
Joined: Fri 15. Feb 2019, 10:05

CMakeList of transmitTest

Post by dMann » Fri 15. Feb 2019, 10:22

Hallo,

I installed the driver and compiled the test applications successfully by running make and by compiling it in the test directory via:

Code: Select all

cc -DNO_RT -g -I. -I../lib -I../driver    src/transmitest.cpp src/common.c src/parser.cpp -lpcanfd -lstdc++  -L../lib/lib   -o transmitest
it runs great but I am somehow unable to integrate it in my applications CMakeLists.txt even if I specify the path in the way above. Could you provide your CMakeLists.txt?

Thanks
Last edited by M.Gerber on Wed 20. Feb 2019, 12:30, edited 1 time in total.
Reason: Inserted [code] tag for improved readability.

User avatar
S.Grosjean
Software Development
Software Development
Posts: 357
Joined: Wed 4. Jul 2012, 17:02

Re: CMakeList of transmitTest

Post by S.Grosjean » Wed 20. Feb 2019, 09:37

Hello,

Sorry but we don't use CMake so we aren't able to provide you any support about it.

Regards,
— Stéphane

Post Reply