Skip to content
  • Emil Velikov's avatar
    cmake: Set default location for all artifacts to top-level directories · 148adfb1
    Emil Velikov authored
    
    
    By default, put executables into $CMAKE_BINARY_DIR/bin and libraries
    into $CMAKE_BINARY_DIR/lib.  Test executables still go into
    $CMAKE_BINARY_DIR/test.
    
    This patch's main purpose is to consolidate repetitive code. It doesn't
    actually move anything except 'libcmocka.a'.
    
    v2: [Emil]
     - Move gl_basic_test (dynamic linked against waffle) to bin, or the
    test will fail on Windows. Due to the DLL being in a different folder.
    
    Cc: Emil Velikov <emil.l.velikov@gmail.com>
    Signed-off-by: default avatarChad Versace <chad.versace@linux.intel.com>
    148adfb1