ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/hd/CMakeLists.txt
(Generate patch)

Comparing ray/src/hd/CMakeLists.txt (file contents):
Revision 1.1 by greg, Sat Oct 22 22:38:10 2011 UTC vs.
Revision 1.3 by greg, Fri Oct 28 20:46:47 2011 UTC

# Line 3 | Line 3 | add_custom_command(
3    OUTPUT "${VERSION_FILE}"
4    COMMAND "${CMAKE_COMMAND}"
5    -DVERSION_OUT_FILE="${VERSION_FILE}"
6 <  -DVERSION_IN_FILE="${radiance_SOURCE_DIR}/src/util/VERSION"
7 <  -P "${radiance_SOURCE_DIR}/src/common/create_version.cmake"
6 >  -DVERSION_IN_FILE="${radiance_SOURCE_DIR}/src/rt/VERSION"
7 >  -P "${radiance_SOURCE_DIR}/src/rt/create_version.cmake"
8   )
9  
10   add_executable(genrhgrid genrhgrid.c holo.c)
# Line 16 | Line 16 | target_link_libraries(rhcopy rtrad)
16   add_executable(rhinfo rhinfo.c holo.c holofile.c)
17   target_link_libraries(rhinfo rtrad)
18   if(NOT WIN32)
19 +  set(VERSION_FILE "${radiance_BINARY_DIR}/src/hd/Version.c")
20 +  create_version_file("${VERSION_FILE}")
21 +
22    add_executable(rholo rholo.c rholo2.c rholo2l.c rholo3.c rholo4.c holo.c
23      holofile.c viewbeams.c ${VERSION_FILE})
24    target_link_libraries(rholo rtrad)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines