equal
deleted
inserted
replaced
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-grep") |
17 set(EXECUTABLE_FILE "relpipe-tr-cut") |
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}) |
28 # From ASan wiki: "To get nicer stack traces in error messages add -fno-omit-frame-pointer." |
28 # From ASan wiki: "To get nicer stack traces in error messages add -fno-omit-frame-pointer." |
29 |
29 |
30 # Executable output: |
30 # Executable output: |
31 add_executable( |
31 add_executable( |
32 ${EXECUTABLE_FILE} |
32 ${EXECUTABLE_FILE} |
33 relpipe-tr-grep.cpp |
33 relpipe-tr-cut.cpp |
34 ) |
34 ) |
35 |
35 |
36 # Link libraries: |
36 # Link libraries: |
37 target_link_libraries(${EXECUTABLE_FILE} ${RELPIPE_LIBS_LIBRARIES}) |
37 target_link_libraries(${EXECUTABLE_FILE} ${RELPIPE_LIBS_LIBRARIES}) |