• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
UBports Robot Logo UBports Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  1. Home
  2. Valenoern
  3. Topics
Offline
  • Profile
  • Following 0
  • Followers 0
  • Topics 2
  • Posts 5
  • Groups 0

Topics

  • V

    Including files from one directory up with CMake or basic builders

    Watching Ignoring Scheduled Pinned Locked Moved App Development
    2 12 Jul 2020, 07:14
    11 Jul 2020, 21:59
    0 Votes
    2 Posts
    281 Views
    V 12 Jul 2020, 07:14
    The solution to this was laughably simple. all I had to do was touch CMakeLists.txt making a completely empty file in the zensekai directory, and then CMake automatically decided to continue in zensekai-click with the other CMakeLists.txt. edit 7-13: There was actually a little more required. in the top CMakeLists.txt I had to put add_subdirectory(zensekai-click) and in the zensekai-click one I accessed/disambiguated the two directories with # set $PR_ROOT to upper directory get_filename_component(PR_ROOT "../" ABSOLUTE) # set $CLICK_DIR to zensekai-click directory set(CLICK_DIR "${PR_ROOT}/zensekai-click") another thing you might run into developing a click package that copies binaries is permissions on binaries. I set them in the loop that copies the binaries like so: foreach(binary ${BINARIES}) install(FILES ${PR_ROOT}/bin/${binary} # the important part PERMISSIONS OWNER_READ OWNER_EXECUTE GROUP_READ WORLD_READ WORLD_EXECUTE # this might actually be unnecessarily permissive*. # it might be enough to just have OWNER_READ and OWNER_EXECUTE DESTINATION ${DATA_DIR} ) endforeach() (* I got sidetracked thinking the permissions weren't enough when I accidentally had my project copying the x86_64 godot binary for a bit - which had bash claiming it "wasn't permitted" to execute while it actually meant that was impossible.)
  • V

    Recommended approach for using openGL or other libraries in UT app?

    Watching Ignoring Scheduled Pinned Locked Moved App Development
    8 3 Jul 2020, 06:00
    30 Jun 2020, 23:28
    0 Votes
    8 Posts
    985 Views
    H 3 Jul 2020, 06:00
    Just saw, someone (Jonny?) wrote an article on how to ship dependencies... http://docs.ubports.com/de/latest/appdev/guides/dependencies.html