Hi,
I need to include cpp files out of tree to build test codes.
The source file directory structure is
<CSC>
    src\
          <CSU1>
          <CSU2>
    test\
           <CSU1_TEST>\
                                  [Source Codes and CMakeLists.txt] under
this directory
           <CSU2_TEST>

To add source code files under <CSU1> i added following line to
CMakeLists.txt under CSU1_TEST directory
FILE(GLOB_RECURSE CSU1_SOURCE <Absolute Path to CSU1>)

ADD_EXECUTABLE(${UNIT_NAME} ${CSU1_SOURCE} )

But still not able to add *cpp files under CSU1.

What should I do in order to add CSU1's *cpp files to source file list of
test code's build.

Thanks

--tunca


-- 

Who wills, can..
Who tries, does..
Who loves, lives..
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to