2013-07-26 22:38:34 +02:00
|
|
|
|
|
|
|
# Define the current source locations
|
|
|
|
SET(CURRENT_HEADER_DIR ${CMAKE_SOURCE_DIR}/include/utils)
|
|
|
|
SET(CURRENT_SOURCE_DIR ${CMAKE_SOURCE_DIR}/libsrc/utils)
|
|
|
|
|
|
|
|
add_library(hyperion-utils
|
2013-11-11 10:00:37 +01:00
|
|
|
${CURRENT_HEADER_DIR}/ColorArgb.h
|
|
|
|
${CURRENT_SOURCE_DIR}/ColorArgb.cpp
|
|
|
|
${CURRENT_HEADER_DIR}/ColorRgb.h
|
|
|
|
${CURRENT_SOURCE_DIR}/ColorRgb.cpp
|
|
|
|
${CURRENT_HEADER_DIR}/ColorRgba.h
|
|
|
|
${CURRENT_SOURCE_DIR}/ColorRgba.cpp
|
|
|
|
${CURRENT_HEADER_DIR}/Image.h
|
2013-08-23 18:24:10 +02:00
|
|
|
${CURRENT_HEADER_DIR}/ColorTransform.h
|
|
|
|
${CURRENT_HEADER_DIR}/HsvTransform.h
|
2013-07-26 22:38:34 +02:00
|
|
|
|
2013-08-23 18:24:10 +02:00
|
|
|
${CURRENT_SOURCE_DIR}/ColorTransform.cpp
|
|
|
|
${CURRENT_SOURCE_DIR}/HsvTransform.cpp
|
2013-07-26 22:38:34 +02:00
|
|
|
|
|
|
|
${CURRENT_HEADER_DIR}/jsonschema/JsonFactory.h
|
|
|
|
${CURRENT_HEADER_DIR}/jsonschema/JsonSchemaChecker.h
|
|
|
|
${CURRENT_SOURCE_DIR}/jsonschema/JsonSchemaChecker.cpp
|
|
|
|
)
|
|
|
|
|
|
|
|
target_link_libraries(hyperion-utils
|
|
|
|
jsoncpp)
|