0

I have two projects:

class
   *.cpp   
project1
   jni
   obj
   build.sh
project2
   jni
   obj
   build.sh

Two projects use the same cpp files, but when I build jni,they create two obj directory in project1/project2, any way to let another project don't compile again?

Kid
  • 77
  • 1
  • 6
  • 1
    Have you tried specifying a directory for `NDK_APP_OUT` in your Application.mk? – Michael Mar 21 '16 at 07:12
  • I set NDK_APP_OUT to let them use one obj directory together,but it seems that cpp files still need to recompile when build another project. – Kid Mar 21 '16 at 09:22

0 Answers0