##
## Project:   ar-cpp
## Copyright: (c) 2015 by Petr Zemek <s3rvac@gmail.com> and contributors
## License:   MIT, see the LICENSE file for more details
##
## CMake configuration file for the tools.
##

if(NOT AR_TOOLS)
	return()
endif()

set(ARTOOL_SOURCES
	ar-extract.cpp
)

add_executable(ar-extract ${ARTOOL_SOURCES})
target_link_libraries(ar-extract ar)

install(TARGETS ar-extract DESTINATION "${INSTALL_BIN_DIR}")

##
## Project:   ar-cpp
## Copyright: (c) 2015 by Petr Zemek <s3rvac@gmail.com> and contributors
## License:   MIT, see the LICENSE file for more details
##
## CMake configuration file for the tools.
##

if(NOT AR_TOOLS)
	return()
endif()

# ar-extract
add_executable(ar-extract ar-extract.cpp)
target_link_libraries(ar-extract ar)
install(TARGETS ar-extract DESTINATION "${INSTALL_BIN_DIR}")

Restructure CMake rules for the ar-extract tool.
Restructure CMake rules for the ar-extract tool.
