Opened 7 years ago
Closed 6 years ago
#944 closed enhancement (fixed)
CMake: Prepare providers.xml for UnitTest executables
Reported by: | jng | Owned by: | jng |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Build System | Version: | |
Severity: | 3 | Keywords: | |
Cc: | External ID: |
Description
Currently, UnitTest executables produced by CMake cannot be run without first doing:
sudo make install export LD_LIBRARY_PATH=/usr/local/fdo-x.y.z/lib:$LD_LIBRARY_PATH
This is because there is no providers.xml
present in the UnitTest's output directory (because the default one is for Windows), so the next place to look is the FDO installatio ndirectory, which can easily get out of date with respect to what you're currently building.
The UnitTest's CMakeLists.txt
should prepare an app-local copy of this file
Note:
See TracTickets
for help on using tickets.
Fixed r7815, r7816, r7817, r7818