Skip to content

Commit

Permalink
Make tools a sdbus-c++-tools project, not codegen specifically
Browse files Browse the repository at this point in the history
  • Loading branch information
Stanislav Angelovic committed May 14, 2019
1 parent 81b5a67 commit 8da3e31
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions tools/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

cmake_minimum_required(VERSION 3.5)

project(sdbus-c++-xml2cpp)
project(sdbus-c++-tools)

include(GNUInstallDirs)

Expand Down Expand Up @@ -41,12 +41,11 @@ set(CMAKE_CXX_STANDARD 14)
# EXECUTABLE BUILD INFORMATION
#----------------------------------

add_executable(${PROJECT_NAME} ${SDBUSCPP_XML2CPP_SRCS})

target_link_libraries (${PROJECT_NAME} ${EXPAT_LIBRARIES})
add_executable(sdbus-c++-xml2cpp ${SDBUSCPP_XML2CPP_SRCS})
target_link_libraries (sdbus-c++-xml2cpp ${EXPAT_LIBRARIES})

#----------------------------------
# INSTALLATION
#----------------------------------

install(TARGETS ${PROJECT_NAME} EXPORT ${PROJECT_NAME} DESTINATION ${CMAKE_INSTALL_BINDIR})
install(TARGETS sdbus-c++-xml2cpp EXPORT sdbus-c++-xml2cpp DESTINATION ${CMAKE_INSTALL_BINDIR})

0 comments on commit 8da3e31

Please sign in to comment.