# Create the mcnp2cad commandline executable, convertMCNP.

SET(CLI_SRC_FILES mcnp2cadex.cpp
                  ProgOptions.cpp
                  ProgOptions.hpp)

add_definitions(-DUSE_CLI=ON)
add_executable(convertMCNP ${CLI_SRC_FILES})
target_link_libraries(convertMCNP mcnp2cad)

# CLI inherits rpath functionality from mcnp2cad library

# Create the mcnp2cad commandline executable, convertMCNP.

SET(CLI_SRC_FILES mcnp2cadex.cpp
                  ProgOptions.cpp
                  ProgOptions.hpp)

add_definitions(-DUSE_CLI=ON)
add_executable(convertMCNP ${CLI_SRC_FILES})
target_link_libraries(convertMCNP mcnp2cad)
install(TARGETS convertMCNP DESTINATION bin)

# CLI inherits rpath functionality from mcnp2cad library

Install convertMCNP to bin directory
Install convertMCNP to bin directory
