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