I have a structure like this:
folder1
|--subfolder1
|--.cpp files .h files
|--other .cpp files
folder1 contains cpp files and 1 subfolder which also contains cpp files and head files
How will I write my Android.mk file so that all the source files, including those inside subfolder1 will be included during compilation?
i tried
LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/\*/\*.*) $(wildcard *.*)
but it does not work, it didnt include the source files which are inside the subdirectories
try :
LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/*/*.cpp)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With