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.2 by greg, Wed Oct 26 16:48:01 2011 UTC vs.
Revision 1.4 by greg, Mon Nov 7 18:46:03 2011 UTC

# Line 1 | Line 1
1 set(VERSION_FILE "${radiance_BINARY_DIR}/src/hd/Version.c")
2 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/rt/VERSION"
7  -P "${radiance_SOURCE_DIR}/src/rt/create_version.cmake"
8 )
9
1   add_executable(genrhgrid genrhgrid.c holo.c)
2   target_link_libraries(genrhgrid rtrad)
3  
# Line 16 | Line 7 | target_link_libraries(rhcopy rtrad)
7   add_executable(rhinfo rhinfo.c holo.c holofile.c)
8   target_link_libraries(rhinfo rtrad)
9   if(NOT WIN32)
10 +  set(VERSION_FILE "${radiance_BINARY_DIR}/src/hd/Version.c")
11 +  create_version_file("${VERSION_FILE}")
12 +
13    add_executable(rholo rholo.c rholo2.c rholo2l.c rholo3.c rholo4.c holo.c
14      holofile.c viewbeams.c ${VERSION_FILE})
15    target_link_libraries(rholo rtrad)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines