forked from microsoft/vcpkg
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[chmlib] Use CMake buildsystem replacement
- Loading branch information
1 parent
c267f32
commit 3921fc3
Showing
7 changed files
with
36 additions
and
565 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
cmake_minimum_required(VERSION 3.5) | ||
project(chm C) | ||
|
||
add_library(chm src/lzx.c src/chm_lib.c) | ||
|
||
if(BUILD_TOOLS) | ||
link_libraries(chm) | ||
add_executable(enum_chmLib src/enum_chmLib.c) | ||
add_executable(enumdir_chmLib src/enumdir_chmLib.c) | ||
add_executable(extract_chmLib src/extract_chmLib.c) | ||
|
||
install(TARGETS enum_chmLib extract_chmLib enumdir_chmLib | ||
RUNTIME DESTINATION tools/chmlib | ||
LIBRARY DESTINATION lib | ||
ARCHIVE DESTINATION lib | ||
) | ||
endif() | ||
|
||
install(TARGETS chm | ||
RUNTIME DESTINATION bin | ||
LIBRARY DESTINATION lib | ||
ARCHIVE DESTINATION lib | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
Source: chmlib | ||
Version: 0.40-1 | ||
Description: CHMLIB is a library for dealing with Microsoft ITSS/CHM format files. Right now, it is a very simple library, but sufficient for dealing with all of the .chm files I've come across. Due to the fairly well-designed indexing built into this particular file format, even a small library is able to gain reasonably good performance indexing into ITSS archives. | ||
Version: 0.40-2 | ||
Description: CHMLIB is a library for dealing with Microsoft ITSS/CHM format files. Right now, it is a very simple library, but sufficient for dealing with all of the .chm files I've come across. Due to the fairly well-designed indexing built into this particular file format, even a small library is able to gain reasonably good performance indexing into ITSS archives. |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.