I am trying to add ffmpeg into my android project. I am using ubuntu 14.04 OS.

I am following this link. [Link](https://software.intel.com/en-us/android/blogs/2013/12/06/building-ffmpeg-for-android-on-x86)

But I am getting error while executing this line.

```
$ANDROID_NDK/build/tools/make-standalone-toolchain.sh --toolchain=x86-4.8 --arch=x86 --system=linux-x86_64 --platform=android-14 --install-dir=/tmp/vplayer

```

I am getting this following error.

```
HOST_OS=linux
HOST_EXE=
HOST_ARCH=x86_64
HOST_TAG=linux-x86_64
HOST_NUM_CPUS=1
BUILD_NUM_CPUS=2
ERROR: Unknown option '--system'. See --help for usage.

```

Please help me how to solve this issue and add ffmpeg into my project.
['https://Stackoverflow.com/questions/36443086', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/3564344/']
No. CLion either:

* opens a new window with the other project you want to work on
* **closes** your current project and opens the new one in the current window

as you can see in the [documentation](https://www.jetbrains.com/help/idea/2016.1/opening-multiple-projects.html). I think this is wanted in their design; probably to maintain CLion fast and reactive...
Adding some visual clues based on the answer from @c-z

This is how my project structure looking -
[![enter image description here](https://i.stack.imgur.com/2vF6D.png)](https://i.stack.imgur.com/2vF6D.png)

This is how my root level CMakeLists.txt is looking -
[![enter image description here](https://i.stack.imgur.com/GDQDT.png)](https://i.stack.imgur.com/GDQDT.png)

Finally, this is how my sub-directory level CMakeLists.txt is looking -
[![enter image description here](https://i.stack.imgur.com/5WqQb.png)](https://i.stack.imgur.com/5WqQb.png)

**NOTE:**
You may choose to remove the outer level main.cpp file (I've deleted it)
Also, you can remove the project level executable to remove it from the run configuration.