Commit 4e2e163
committed
[cmake] Improve handling of OMSimulator.
- Add it as an ExternalProject.
- Do not allow it to output things to the install directory while building
- Insted give it a directory in the build dir as an install dir.
Then once it installs things in there, we handle the actual installation
manually.
- Essentially, this prevents from populating anything in the
install directory while building.
- Add an imported library target for it.
This can be used to link to it from our other targets.
- Add install logic for it.
- OMSimulator wants to start with a Makefiles to invoke the actual CMake
operations. As a result it is designed with that in mind.
While the current support from this side is not ideal, it should suffice
for now.1 parent ba7ee7b commit 4e2e163
1 file changed
+41
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | 2 | | |
4 | | - | |
5 | | - | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
6 | 15 | | |
7 | 16 | | |
8 | 17 | | |
9 | | - | |
10 | | - | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
11 | 21 | | |
12 | | - | |
| 22 | + | |
13 | 23 | | |
14 | 24 | | |
15 | | - | |
16 | | - | |
17 | | - | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
18 | 30 | | |
19 | 31 | | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
20 | 46 | | |
21 | | - | |
22 | 47 | | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
0 commit comments