File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -52,6 +52,9 @@ option(BUILD_EXAMPLES "Build example programs (for build testing)" OFF)
5252set (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
5659set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -W -Wall" )
5760
Original file line number Diff line number Diff line change 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)
3131endif ()
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+ ################################################################################
Original file line number Diff line number Diff line change 2929#include < set>
3030
3131// ! Encapsules one sp-importdata processes, which can also be run from other
32- // ! sp- processors.
32+ // ! sqlplot processors.
3333class ImportData
3434{
3535protected:
File renamed without changes.
You can’t perform that action at this time.
0 commit comments