CMakeLists.txt revision 3c147b1dc203f9815cb45e24add22478e936d1e8
b32d148b0052e1f874e9bc9803bef729bf859d97Luke SmithSET(INKSCAPE_SRC
b32d148b0052e1f874e9bc9803bef729bf859d97Luke Smith# make executable for INKSCAPE
b32d148b0052e1f874e9bc9803bef729bf859d97Luke SmithADD_EXECUTABLE(inkscape ${INKSCAPE_SRC})
b32d148b0052e1f874e9bc9803bef729bf859d97Luke Smith#TARGET_LINK_LIBRARIES(INKSCAPE blas gsl)
b32d148b0052e1f874e9bc9803bef729bf859d97Luke Smith#INSTALL(TARGETS INKSCAPE
b32d148b0052e1f874e9bc9803bef729bf859d97Luke Smith# RUNTIME DESTINATION bin
b32d148b0052e1f874e9bc9803bef729bf859d97Luke Smith# LIBRARY DESTINATION lib
b32d148b0052e1f874e9bc9803bef729bf859d97Luke Smith# ARCHIVE DESTINATION lib
b32d148b0052e1f874e9bc9803bef729bf859d97Luke Smith#FILE(GLOB files "${CMAKE_CURRENT_SOURCE_DIR}/*.h")
b32d148b0052e1f874e9bc9803bef729bf859d97Luke Smith#INSTALL(FILES ${files} DESTINATION include/INKSCAPE/INKSCAPE)
c36390194c43d30adc1059a74fdf9f51a235b8a9Luke Smith#CONFIGURE_FILE( ${CMAKE_SOURCE_DIR}/INKSCAPE.pc.in
b32d148b0052e1f874e9bc9803bef729bf859d97Luke Smith# ${CMAKE_BINARY_DIR}/INKSCAPE.pc @ONLY IMMEDIATE )
b32d148b0052e1f874e9bc9803bef729bf859d97Luke Smith#INSTALL(FILES "${CMAKE_BINARY_DIR}/INKSCAPE.pc" DESTINATION lib/pkgconfig)
b32d148b0052e1f874e9bc9803bef729bf859d97Luke Smith# Add New folders in src folder here
b32d148b0052e1f874e9bc9803bef729bf859d97Luke SmithSET(srcfolders
b32d148b0052e1f874e9bc9803bef729bf859d97Luke Smithjabber_whiteboard
b32d148b0052e1f874e9bc9803bef729bf859d97Luke Smithremoveoverlap
b32d148b0052e1f874e9bc9803bef729bf859d97Luke SmithFOREACH(dirlist ${srcfolders})
b32d148b0052e1f874e9bc9803bef729bf859d97Luke SmithADD_SUBDIRECTORY(${dirlist})
d7a66fe2de41baa56b41e8b7b254d1f6a50a5135Luke SmithENDFOREACH(dirlist)