Skip to content

Commit effb176

Browse files
committed
rename binary sp-process -> sqlplottools
1 parent ec3955c commit effb176

4 files changed

Lines changed: 13 additions & 6 deletions

File tree

CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@ option(BUILD_EXAMPLES "Build example programs (for build testing)" OFF)
5252
set(TEST_DATABASE "Sqlite"
5353
CACHE STRING "Select the database system to run tests on.")
5454

55+
# allow user to specify other binary installation paths
56+
set(INSTALL_BIN_DIR "bin" CACHE PATH "Installation directory for sqlplottools")
57+
5558
# enable warnings
5659
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -W -Wall")
5760

src/CMakeLists.txt

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
###############################################################################
22
# src/CMakeLists.txt
33
#
4-
# CMake file for sqlplot-tools utility set.
4+
# CMake file for sqlplottools utility set.
55
#
66
###############################################################################
7-
# Copyright (C) 2013 Timo Bingmann <tb@panthema.net>
7+
# Copyright (C) 2013-2015 Timo Bingmann <tb@panthema.net>
88
#
99
# This program is free software: you can redistribute it and/or modify it under
1010
# the terms of the GNU General Public License as published by the Free Software
@@ -30,8 +30,8 @@ if(MYSQL_FOUND)
3030
set(SQL_SOURCES ${SQL_SOURCES} mysql.cpp)
3131
endif()
3232

33-
add_executable(sp-process
34-
sp-process.cpp
33+
add_executable(sqlplottools
34+
main.cpp
3535
latex.cpp
3636
gnuplot.cpp
3737
common.cpp
@@ -44,4 +44,8 @@ add_executable(sp-process
4444
reformat.cpp
4545
)
4646

47-
target_link_libraries(sp-process ${SQL_LIBRARIES} ${Boost_LIBRARIES})
47+
target_link_libraries(sqlplottools ${SQL_LIBRARIES} ${Boost_LIBRARIES})
48+
49+
install(TARGETS sqlplottools RUNTIME DESTINATION ${INSTALL_BIN_DIR})
50+
51+
################################################################################

src/importdata.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
#include <set>
3030

3131
//! Encapsules one sp-importdata processes, which can also be run from other
32-
//! sp-processors.
32+
//! sqlplot processors.
3333
class ImportData
3434
{
3535
protected:
File renamed without changes.

0 commit comments

Comments
 (0)