Skip to content

Commit

Permalink
Merge pull request #177 from bitshares/cmake_simplification
Browse files Browse the repository at this point in the history
Get rid of most extra cmake modules
  • Loading branch information
pmconrad authored Nov 6, 2019
2 parents e48941b + 7e07bc4 commit 41aaa6c
Show file tree
Hide file tree
Showing 7 changed files with 1 addition and 966 deletions.
6 changes: 1 addition & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/GitVersionGen")
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/CMakeModules")

INCLUDE(GetPrerequisites)
INCLUDE( VersionMacros )
INCLUDE( SetupTargetMacros )
INCLUDE(GetGitRevisionDescription)
INCLUDE(CheckLibraryExists)

Expand Down Expand Up @@ -159,8 +157,6 @@ ENDIF( LIBCXX_HAVE_CXX_ATOMICS_WITH_LIB )

find_package(OpenSSL REQUIRED)

option( UNITY_BUILD OFF )

set( fc_sources
src/popcount.cpp
src/variant.cpp
Expand Down Expand Up @@ -243,7 +239,7 @@ list(APPEND sources ${fc_headers})

add_subdirectory( vendor/websocketpp EXCLUDE_FROM_ALL )

setup_library( fc SOURCES ${sources} LIBRARY_TYPE STATIC )
add_library( fc ${sources} )
install( DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/include/" DESTINATION include )

# begin editline stuff
Expand Down
74 changes: 0 additions & 74 deletions CMakeModules/ArgumentParser.cmake

This file was deleted.

123 changes: 0 additions & 123 deletions CMakeModules/FindVLD.cmake

This file was deleted.

79 changes: 0 additions & 79 deletions CMakeModules/ParseLibraryList.cmake

This file was deleted.

Loading

0 comments on commit 41aaa6c

Please sign in to comment.