mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
* update * resolve qt5w * test * Go down cmake python search won the price for crazy lib searches! * 2.7 python forced, RPATH * upstream * ... * update * ... * 2.7.12 py it picks random versions... * max 7.12.5.... * Test 14.04 tests
42 lines
1.3 KiB
CMake
42 lines
1.3 KiB
CMake
# Define the current source locations
|
|
set(CURRENT_HEADER_DIR ${CMAKE_SOURCE_DIR}/include/commandline)
|
|
set(CURRENT_SOURCE_DIR ${CMAKE_SOURCE_DIR}/libsrc/commandline)
|
|
|
|
set(Parser_HEADERS
|
|
${CURRENT_HEADER_DIR}/ColorOption.h
|
|
${CURRENT_HEADER_DIR}/ColorsOption.h
|
|
${CURRENT_HEADER_DIR}/DoubleOption.h
|
|
${CURRENT_HEADER_DIR}/ImageOption.h
|
|
${CURRENT_HEADER_DIR}/IntOption.h
|
|
${CURRENT_HEADER_DIR}/Option.h
|
|
${CURRENT_HEADER_DIR}/Parser.h
|
|
${CURRENT_HEADER_DIR}/RegularExpressionOption.h
|
|
${CURRENT_HEADER_DIR}/SwitchOption.h
|
|
${CURRENT_HEADER_DIR}/ValidatorOption.h
|
|
${CURRENT_HEADER_DIR}/BooleanOption.h
|
|
)
|
|
|
|
set(Parser_SOURCES
|
|
${CURRENT_SOURCE_DIR}/ColorOption.cpp
|
|
${CURRENT_SOURCE_DIR}/ColorsOption.cpp
|
|
${CURRENT_SOURCE_DIR}/DoubleOption.cpp
|
|
${CURRENT_SOURCE_DIR}/ImageOption.cpp
|
|
${CURRENT_SOURCE_DIR}/IntOption.cpp
|
|
${CURRENT_SOURCE_DIR}/Option.cpp
|
|
${CURRENT_SOURCE_DIR}/Parser.cpp
|
|
${CURRENT_SOURCE_DIR}/RegularExpressionOption.cpp
|
|
${CURRENT_SOURCE_DIR}/SwitchOption.cpp
|
|
${CURRENT_SOURCE_DIR}/ValidatorOption.cpp
|
|
${CURRENT_SOURCE_DIR}/BooleanOption.cpp
|
|
)
|
|
|
|
add_library(commandline
|
|
${Parser_HEADERS}
|
|
${Parser_SOURCES}
|
|
)
|
|
|
|
target_link_libraries(commandline
|
|
hyperion
|
|
Qt5::Gui
|
|
)
|