Skip to content

Commit

Permalink
[chmlib] Use CMake buildsystem replacement
Browse files Browse the repository at this point in the history
  • Loading branch information
ras0219-msft committed Feb 26, 2018
1 parent c267f32 commit 3921fc3
Show file tree
Hide file tree
Showing 7 changed files with 36 additions and 565 deletions.
23 changes: 23 additions & 0 deletions ports/chmlib/CMakeLists.txt
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
)
4 changes: 2 additions & 2 deletions ports/chmlib/CONTROL
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.
211 changes: 0 additions & 211 deletions ports/chmlib/chm.vcxproj

This file was deleted.

109 changes: 0 additions & 109 deletions ports/chmlib/enum_chmLib.vcxproj

This file was deleted.

Loading

0 comments on commit 3921fc3

Please sign in to comment.