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-tr-guile") |
16 set(EXECUTABLE_FILE "relpipe-tr-scheme") |
17 |
17 |
18 # Relpipe libraries: |
18 # Relpipe libraries: |
19 INCLUDE(FindPkgConfig) |
19 INCLUDE(FindPkgConfig) |
20 pkg_check_modules (RELPIPE_LIBS relpipe-lib-reader.cpp relpipe-lib-writer.cpp relpipe-lib-cli.cpp guile-2.2) |
20 pkg_check_modules (RELPIPE_LIBS relpipe-lib-reader.cpp relpipe-lib-writer.cpp relpipe-lib-cli.cpp guile-2.2) |
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-tr-guile.cpp |
32 relpipe-tr-scheme.cpp |
33 ) |
33 ) |
34 |
34 |
35 # Link libraries: |
35 # Link libraries: |
36 target_link_libraries(${EXECUTABLE_FILE} ${RELPIPE_LIBS_LIBRARIES}) |
36 target_link_libraries(${EXECUTABLE_FILE} ${RELPIPE_LIBS_LIBRARIES}) |
37 set_property(TARGET ${EXECUTABLE_FILE} PROPERTY INSTALL_RPATH_USE_LINK_PATH TRUE) |
37 set_property(TARGET ${EXECUTABLE_FILE} PROPERTY INSTALL_RPATH_USE_LINK_PATH TRUE) |