Go to most recent revision |
Blame |
Last modification |
View Log
| RSS feed
# Build the demo app, small examples
# First thing define the common source:
convert.c
)
# Then check if getopt is present:
INCLUDE (${CMAKE_ROOT}/Modules/CheckIncludeFile.cmake
)
IF(UNIX
) #I am pretty sure only *nix sys have this anyway
CHECK_INCLUDE_FILE("getopt.h" CMAKE_HAVE_GETOPT_H)
# Seems like we need the contrary:
ENDIF(CMAKE_HAVE_GETOPT_H
)
# If not getopt was found then add it to the lib:
${common_SRCS}
getopt.c
)
# Loop over all executables:
FOREACH(exe jp3d_to_volume volume_to_jp3d
)
# On unix you need to link to the math library:
# Install exe