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

Comparing ray/src/CMakeLists.txt (file contents):
Revision 1.1 by greg, Sat Oct 22 22:38:10 2011 UTC vs.
Revision 1.3 by greg, Wed Apr 25 22:21:06 2012 UTC

# Line 7 | Line 7 | else()
7    set(LIB_M )
8   endif()
9  
10 find_package(OpenGL)
11 find_package(X11)
12
10   include_directories(common)
11 <
11 > # create a macro to generate
12 > macro(create_version_file version_file)
13 >  add_custom_command(
14 >    OUTPUT "${version_file}"
15 >    COMMAND "${CMAKE_COMMAND}"
16 >    -DVERSION_OUT_FILE="${version_file}"
17 >    -DVERSION_IN_FILE="${radiance_SOURCE_DIR}/src/rt/VERSION"
18 >    -DVERSION_GOLD="${radiance_SOURCE_DIR}/src/rt/Version.c"
19 >    -P "${radiance_SOURCE_DIR}/src/rt/create_version.cmake"
20 >    )
21 > endmacro()
22   add_subdirectory(common)
23   add_subdirectory(cal)
24   add_subdirectory(cv)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines