summaryrefslogblamecommitdiff
path: root/hscript/CMakeLists.txt
blob: 60ca8a9a8fea4b6ca39bfa45cee5136b65033436 (plain) (tree)
1
2
3
4
5
6
7

                  
               
              
               
                  
               









                                                            
                                                 


                                                             
set(HSCRIPT_SOURCE
	script.cc
        disk.cc
        key.cc
        meta.cc
        network.cc
        user.cc
)

set(HSCRIPT_INCLUDE
	script.hh
	key.hh
)

add_library(hscript SHARED ${HSCRIPT_SOURCE})
target_compile_features(hscript PRIVATE cxx_nullptr)
target_compile_features(hscript PUBLIC cxx_unicode_literals)
target_link_libraries(hscript ${BLKID_LIBRARIES})

install(TARGETS hscript DESTINATION lib)
install(FILES ${HSCRIPT_INCLUDE} DESTINATION include/hscript)