[CMake] Custom compile command?

Bob Tanner tanner at real-time.com
Sat Jun 6 15:47:20 EDT 2009


On 2009-06-06 07:43:21 -0500, Bill Hoffman 
<bill.hoffman at kitware.com> said:

> You should use the full path to the files like this:
> 
> set(puck_SOURCES ${CMAKE_CURRENT_BINARY_DIR}/commands_puck.c)


Thank you!

This method works for both 2.4 and 2.6.

-- 
Bob Tanner <tanner at real-time.com>                  | Phone : (952 943-8700
http://www.real-time.com, Linux, OSX, VMware | Fax   : (952)943-8500
Key fingerprint = F785 DDFC CF94 7CE8 AA87 3A9D 3895 26F1 0DDB E378




More information about the CMake mailing list