File: CMakeLists.txt

package info (click to toggle)
sfcgal 1.3.9-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 12,208 kB
  • sloc: cpp: 36,070; ansic: 1,074; sh: 110; makefile: 39
file content (8 lines) | stat: -rw-r--r-- 391 bytes parent folder | download | duplicates (30)
1
2
3
4
5
6
7
8
GET_FILENAME_COMPONENT( EXAMPLE_NAME ${CMAKE_CURRENT_SOURCE_DIR} NAME )
add_executable( example-${EXAMPLE_NAME} 
	main.cpp 
)
find_package(Boost REQUIRED COMPONENTS serialization)
target_link_libraries( example-${EXAMPLE_NAME} SFCGAL ${Boost_LIBRARIES})
set_target_properties( example-${EXAMPLE_NAME} PROPERTIES DEBUG_POSTFIX "d" )
install( TARGETS example-${EXAMPLE_NAME} DESTINATION bin )