title: How to set version-script file in CMakeLists.txt file of Android Studio
body: <p>I have a ndk project in Android Studio, and I want to control the exported symbols by this way:</p>
  
  <p>set (CMAKE_SHARED_LINKER_FLAGS ${CMAKE_SHARED_LINKER_FLAGS} "-Wl,--version-script=D:\ProjectFolder\export_symbols")</p>
  
  <p>or</p>
  
  <p>set (CMAKE_SHARED_LINKER_FLAGS ${CMAKE_SHARED_LINKER_FLAGS} "-Wl,--version-script=export_symbols")</p>
  
  <p>This export_symbols file is put together with CMaleLists.txt.
  The problem is that the compiler would report an error during link and complain that:  'error: no such file or directory'.</p>
  
  <p>So the question is how can I tell the compiler where my export_symbols file is? Any suggestion is welcomed. Thanks.</p>