STYLE: Add a lot of comments for the CMake build system

This commit is contained in:
Mathieu Malaterre
2006-01-25 16:32:48 +00:00
parent 5ff45287ea
commit 61e353d652
5 changed files with 27 additions and 1 deletions

View File

@@ -1,5 +1,5 @@
INCLUDE_REGULAR_EXPRESSION("^.*$")
# Create the lib
# Defines the source code for the library
SET(openjpeg_SRCS
bio.c
cio.c
@@ -23,6 +23,7 @@ SET(openjpeg_SRCS
tgt.c
)
# Handle the dllimport/dllexport for building shared lib on Win32
IF (WIN32)
IF (BUILD_SHARED_LIBS)
ADD_DEFINITIONS(-DOPJ_SHARED)
@@ -31,5 +32,6 @@ IF (WIN32)
ENDIF (BUILD_SHARED_LIBS)
ENDIF (WIN32)
# Create the library
ADD_LIBRARY(${OPJ_PREFIX}openjpeg ${openjpeg_SRCS})