add header files to cmake-generated projects
This commit is contained in:
Родитель
05ced11474
Коммит
417343557d
|
@ -1,2 +1,2 @@
|
|||
add_library(common abstractfile.c)
|
||||
add_library(common abstractfile.c ../includes/abstractfile.h ../includes/common.h)
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@ link_directories(${ZLIB_LIBRARIES})
|
|||
|
||||
link_directories(${PROJECT_BINARY_DIR}/common ${PROJECT_BINARY_DIR}/hfs)
|
||||
|
||||
add_library(dmg adc.c base64.c checksum.c dmgfile.c dmglib.c filevault.c io.c partition.c resources.c udif.c)
|
||||
add_library(dmg adc.c base64.c checksum.c dmgfile.c dmglib.c filevault.c io.c partition.c resources.c udif.c ../includes/dmg/adc.h ../includes/dmg/dmg.h ../includes/dmg/dmgfile.h ../includes/dmg/dmglib.h ../includes/dmg/filevault.h)
|
||||
|
||||
IF(OPENSSL_FOUND)
|
||||
add_definitions(-DHAVE_CRYPT)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
link_directories (${PROJECT_BINARY_DIR}/common)
|
||||
add_library(hfs btree.c catalog.c extents.c fastunicodecompare.c flatfile.c hfslib.c rawfile.c utility.c volume.c)
|
||||
add_library(hfs btree.c catalog.c extents.c fastunicodecompare.c flatfile.c hfslib.c rawfile.c utility.c volume.c ../includes/hfs/hfslib.h ../includes/hfs/hfsplus.h)
|
||||
target_link_libraries(hfs common)
|
||||
|
||||
add_executable(hfsplus hfs.c)
|
||||
|
|
Загрузка…
Ссылка в новой задаче