[CONCPP-5] Build on Windows, as it's described in the BUILD, does not work Created: 2020-03-20  Updated: 2020-03-23  Resolved: 2020-03-23

Status: Closed
Project: MariaDB Connector/C++
Component/s: General
Affects Version/s: None
Fix Version/s: 0.9.2

Type: Task Priority: Major
Reporter: Lawrin Novitsky Assignee: Lawrin Novitsky
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: 0d
Time Spent: 7h
Original Estimate: Not Specified


 Description   

In BUILD it is:
cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCONC_WITH_UNIT_TESTS=Off -DCONC_WITH_MSI=OFF -DWITH_SSL=SCHANNEL .
cmake --build . --config RelWithDebInfo
The reason is that C/C is was compiled with /MD, while C/C++ w/ /MT. Addin C to LANGUAGES in C/C++ PROJECT fixes that.
The 2nd problem would occur if BINARY and SRC directories are different. Tests cannot find generated header in such case.



 Comments   
Comment by Lawrin Novitsky [ 2020-03-23 ]

The fix has been pushed in the c097fac commit

Generated at Thu Feb 08 03:07:39 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.