Update compilation management.

Add 2 new options which allow to choose to compile the required sources.

	modified:   CMakeLists.txt
	modified:   src/CMakeLists.txt