equal
deleted
inserted
replaced
11 # GNU General Public License for more details. |
11 # GNU General Public License for more details. |
12 # |
12 # |
13 # You should have received a copy of the GNU General Public License |
13 # You should have received a copy of the GNU General Public License |
14 # along with this program. If not, see <http://www.gnu.org/licenses/>. |
14 # along with this program. If not, see <http://www.gnu.org/licenses/>. |
15 |
15 |
16 set(EXECUTABLE_FILE "relpipe-in-qr") |
16 set(EXECUTABLE_FILE "relpipe-in-barcode") |
17 |
17 |
18 # Relpipe libraries: |
18 # Relpipe libraries: |
19 INCLUDE(FindPkgConfig) |
19 INCLUDE(FindPkgConfig) |
20 pkg_check_modules (RELPIPE_LIBS REQUIRED relpipe-lib-writer.cpp relpipe-lib-cli.cpp zbar Magick++) |
20 pkg_check_modules (RELPIPE_LIBS REQUIRED relpipe-lib-writer.cpp relpipe-lib-cli.cpp zbar Magick++) |
21 include_directories(${RELPIPE_LIBS_INCLUDE_DIRS}) |
21 include_directories(${RELPIPE_LIBS_INCLUDE_DIRS}) |
27 # From ASan wiki: "To get nicer stack traces in error messages add -fno-omit-frame-pointer." |
27 # From ASan wiki: "To get nicer stack traces in error messages add -fno-omit-frame-pointer." |
28 |
28 |
29 # Executable output: |
29 # Executable output: |
30 add_executable( |
30 add_executable( |
31 ${EXECUTABLE_FILE} |
31 ${EXECUTABLE_FILE} |
32 relpipe-in-qr.cpp |
32 relpipe-in-barcode.cpp |
33 ) |
33 ) |
34 |
34 |
35 add_definitions (${RELPIPE_LIBS_CFLAGS_OTHER}) |
35 add_definitions (${RELPIPE_LIBS_CFLAGS_OTHER}) |
36 |
36 |
37 # Link libraries: |
37 # Link libraries: |