File: CMakeLists.txt

package info (click to toggle)
libsdsl 2.0.3-4
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 7,204 kB
  • ctags: 12,713
  • sloc: cpp: 64,225; python: 3,856; ansic: 3,651; makefile: 1,537; sh: 449
file content (23 lines) | stat: -rw-r--r-- 739 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
include_directories(#"${CMAKE_CURRENT_SOURCE_DIR}/../include"
					"${CMAKE_CURRENT_BINARY_DIR}/../include" 
#					"${CMAKE_CURRENT_BINARY_DIR}/../external/libdivsufsort-2.0.1/include" 
					)


file(GLOB libFiles RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}  "${CMAKE_CURRENT_SOURCE_DIR}/*.cpp") # select all .cpp-files

set( sdsl_SRCS ${libFiles} )

add_library( sdsl ${sdsl_SRCS} )

install(TARGETS sdsl
		RUNTIME DESTINATION bin
		LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}"
		ARCHIVE DESTINATION "${CMAKE_INSTALL_LIBDIR}")

set_target_properties(sdsl PROPERTIES
	VERSION "${LIBRARY_VERSION_FULL}"	
	SOVERSION "${LIBRARY_VERSION_MAJOR}"	
#	DEFINE_SYMBOL SDSL_BUILD_DLL
#	RUNTIME_OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../examples"
	)