title: Generate executable a.out from cpp mentioned in .pro file in yocto build
body: <p>I am using yocto build. I have <strong>.pro</strong> files and recipes(<strong>.bb</strong>) which build all cpp files present in <strong>.pro</strong> file. Recently I added two new cpp file i.e. <strong>gtest_main.cpp</strong> and <strong>lgeplugin_Test.cpp</strong> in <strong>.pro</strong> file. As show below</p>
  <p><strong>lgeplugin.pro</strong></p>
  <pre><code>QMAKE_CXXFLAGS += -g
  QMAKE_CFLAGS += -g
  CFLAGS += \
             -Wall \
            -Wextra \
            -fPIC \
            -std=c++11
  
  
  
  TARGET = lgeplugin
  TEMPLATE = lib
  
  message(Building)
  
  INCLUDEPATH += ${Root}/include/ALL \
                 ${Root}/include/gtest \
  
   DEFINES += USE_LGE_TREE
   SOURCES += ../../src/lgeplugin.cpp
  
   contains(DEFINES, LGE_PLUGIN) {
     
  SOURCES     += \
                  ../../src/internalclient.cpp \
                  ../../src/Event.cpp \
                  ../../src/gtest_main.cpp \
                  ../../src/lgeplugin_Test.cpp
  LIBS += -lLGEFramework -lgtest
      } 
  </code></pre>
  <p><strong>lgeplugin.bb</strong></p>
  <pre><code>QMAKE_PROFILES = &quot;${S}/lgeplugin.pro&quot;
  do_install() {
          install -d ${D}/usr/lib
          cp -a ${B}/liblgeplugin.so* ${D}/usr/lib
  }
  </code></pre>
  <p><strong>Requirement : I need  executable(a.out) of the newly added file i.e. gtest_main.cpp and lgeplugin_Test.cpp</strong></p>