src/CMakeLists.txt
branchv_0
changeset 6 0f28565508ca
parent 3 8731263d44f1
child 7 aebaf590a838
equal deleted inserted replaced
5:ac427c840372 6:0f28565508ca
    12 # GNU General Public License for more details.
    12 # GNU General Public License for more details.
    13 #
    13 #
    14 # You should have received a copy of the GNU General Public License
    14 # You should have received a copy of the GNU General Public License
    15 # along with this program. If not, see <http://www.gnu.org/licenses/>.
    15 # along with this program. If not, see <http://www.gnu.org/licenses/>.
    16 
    16 
    17 set(EXECUTABLE_FILE "relpipe-tr-validator")
    17 set(EXECUTABLE_FILE "relpipe-tr-grep")
    18 
    18 
    19 # Relpipe libraries:
    19 # Relpipe libraries:
    20 INCLUDE(FindPkgConfig)
    20 INCLUDE(FindPkgConfig)
    21 pkg_check_modules (RELPIPE_LIBS relpipe-lib-reader.cpp relpipe-lib-writer.cpp relpipe-lib-cli.cpp)
    21 pkg_check_modules (RELPIPE_LIBS relpipe-lib-reader.cpp relpipe-lib-writer.cpp relpipe-lib-cli.cpp)
    22 include_directories(${RELPIPE_LIBS_INCLUDE_DIRS})
    22 include_directories(${RELPIPE_LIBS_INCLUDE_DIRS})
    29 
    29 
    30 # Executable output:
    30 # Executable output:
    31 add_executable(
    31 add_executable(
    32 	${EXECUTABLE_FILE}
    32 	${EXECUTABLE_FILE}
    33 	PassthroughHandler.h
    33 	PassthroughHandler.h
    34 	relpipe-tr-validator.cpp
    34 	relpipe-tr-grep.cpp
    35 )
    35 )
    36 
    36 
    37 # Link libraries:
    37 # Link libraries:
    38 target_link_libraries(${EXECUTABLE_FILE} ${RELPIPE_LIBS_LIBRARIES})
    38 target_link_libraries(${EXECUTABLE_FILE} ${RELPIPE_LIBS_LIBRARIES})