Commit c72cc88
committed
feat: add install target with self-contained Linux layout
cmake --install now produces a flat directory that mirrors the Windows
runtime/ layout:
<prefix>/
PathOfBuilding # launcher
libSimpleGraphic.so # engine
socket.so, lcurl.so, lua-utf8.so, lzip.so # Lua C modules
SimpleGraphic/
Fonts/ # pre-rendered bitmap fonts
SimpleGraphic.cfg # default engine config
Font bitmaps are added to data/SimpleGraphic/Fonts/ in this repository
(they are engine assets previously bundled with PoB's runtime/).
Two CMake fixes enable the flat layout:
- Add LIBRARY DESTINATION "." to all SHARED target install rules so
Linux .so files land in the prefix root instead of lib64/.
- Install data/SimpleGraphic into the prefix alongside the binaries.
The launcher now sets SG_BASE_PATH to its own directory, so fonts are
found whether running from the build directory or an installed prefix.1 parent 47d2e53 commit c72cc88
122 files changed
Lines changed: 14470 additions & 12 deletions
File tree
- data/SimpleGraphic
- Fonts
- linux
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
256 | 256 | | |
257 | 257 | | |
258 | 258 | | |
259 | | - | |
| 259 | + | |
260 | 260 | | |
261 | 261 | | |
262 | 262 | | |
| |||
314 | 314 | | |
315 | 315 | | |
316 | 316 | | |
317 | | - | |
| 317 | + | |
318 | 318 | | |
319 | 319 | | |
320 | 320 | | |
| |||
345 | 345 | | |
346 | 346 | | |
347 | 347 | | |
348 | | - | |
| 348 | + | |
349 | 349 | | |
350 | 350 | | |
351 | 351 | | |
| |||
390 | 390 | | |
391 | 391 | | |
392 | 392 | | |
393 | | - | |
| 393 | + | |
394 | 394 | | |
395 | 395 | | |
396 | 396 | | |
| |||
410 | 410 | | |
411 | 411 | | |
412 | 412 | | |
413 | | - | |
| 413 | + | |
414 | 414 | | |
415 | 415 | | |
416 | 416 | | |
417 | 417 | | |
418 | 418 | | |
419 | 419 | | |
420 | 420 | | |
| 421 | + | |
421 | 422 | | |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
0 commit comments