Commit graph

11 commits

Author SHA1 Message Date
Andrea Odetti
ce0db1f74f Use a dynamic relative path to locate resources.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-07-12 10:26:17 +01:00
Andrea Odetti
a310d50da4 applen: partially better way to locate resources if application is launched from different folder.
When loading snapshot, chdir so relative paths can be found.
Ensure endwin() is called.
Use an "int" to exit the process rather than a exit().

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2020-07-12 10:24:27 +01:00
Andrea Odetti
74cab50cee Remove dependency on std::filesystem and fix a compilation error. 2020-07-05 13:20:03 +01:00
Andrea Odetti
24e0b17135 Works on Raspbian.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2019-12-14 21:18:00 +00:00
Andrea Odetti
e8022bf6a0 Cleanup CMakeLists.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2019-12-01 15:22:17 +00:00
Andrea Odetti
92c257d1e5 Improve error handling in applen and ability to build outside the source tree.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2019-11-03 10:21:02 +00:00
Andrea Odetti
d44bc6c019 Improve cmake detection of required libraries.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2019-11-03 09:36:16 +00:00
Andrea Odetti
1b70ca4979 Fix PkgConfig for ncursesw and add libevdev.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2018-02-06 17:08:50 +00:00
Andrea Odetti
6985ef40e2 Use CMake / PkgConfig to find ncurses locations and flags.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2018-02-06 16:58:10 +00:00
Andrea Odetti
3733da1af7 Remove configuration from libappleii and delegate it to the frontends.
In qapple we use QSettings.


Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2017-10-14 19:18:44 +01:00
Andrea Odetti
03de883889 Modularise CMakeLists.txt
qapple does not run at the moment: can find configuration file.


Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2017-10-14 19:18:44 +01:00