On 06/12/2014 02:56 PM, Thomas Jarosch wrote:
> On Thursday, 12. June 2014 20:42:14 Xiaofan Chen wrote:
>>> If this is a common problem, how about adding a cmake switch? Something
>>> like -DBUILD_TESTS=OFF?
>>
>> I am not so sure you can call it a common problem, so far
>> I do not see many people building the whole libftdi Windows
>> thingy (except me), most of the people only need the
>> C library and they are fine.
>>
>> But still I think it is good to add the CMake switch now
>> at least you and I have this problem.
>
> fine by me, too.
>
> @Samuel: The "DOCUMENTATION" switch might provide
> a good starting point for this.
Ok, I attached a small patch that adds a 'BUILD_TESTS' switch.
Do your rather want a pull request?
As for the cross-compiling: I switched to D2XX on Windows because I
don't want to incur the whole driver mess. Now I have to write
everything twice, but that's manageable.
Cheers,
Sam
--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx
build_tests.git_patch
Description: Text document
|