Showing external CMake library files in Project View as separate modules

108 views
Skip to first unread message

Daniel Willmott

unread,
Aug 3, 2024, 9:21:39 AMAug 3
to android-ndk
I've recently reinstalled Android Studio and am now using the latest Koala release. However, I seem to be running into issues with the CMake integration with Android Studio.

I have an add_subdirectory that includes files from a directory outside of my Android project. Ie.

add_library( mylib STATIC ../../../common/file.cpp ... )

In my root CMakeLists.txt:
add_subdirectory( lib )

This previously showed all the files in mylib as a separate module in the "Project" view within Android Studio, but this doesn't seem to be the case anymore, and I only see the files local to the project.

Can anyone point me in the direction for getting these files to show up again here?

Thanks.


Dan Albert

unread,
Aug 5, 2024, 2:47:24 PMAug 5
to andro...@googlegroups.com
You won't likely find an answer here. That's all Android Studio, not the NDK. Filing a Studio bug would be your best bet.

--
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-ndk...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-ndk/c5c81718-ad17-473a-8524-e91d88c6c411n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages