Commit 909df185 authored by Kenneth Moreland's avatar Kenneth Moreland
Browse files

Add header files to list of sources.

This causes the header files to show up in IDE projects, which makes
them easier to edit.
parent 5bb098d2
......@@ -9,8 +9,16 @@ SET(ICET_MPI_SRCS
mpi.c
)
SET(ICET_MPI_HEADERS
../include/IceTMPI.h
)
IF (ICET_USE_MPI)
ICET_ADD_LIBRARY(IceTMPI ${ICET_MPI_SRCS})
ICET_ADD_LIBRARY(IceTMPI ${ICET_MPI_SRCS} ${ICET_MPI_HEADERS})
SET_SOURCE_FILES_PROPERTIES(${ICET_MPI_HEADERS}
PROPERTIES HEADER_FILE_ONLY TRUE
)
TARGET_LINK_LIBRARIES(IceTMPI
IceTCore
......
......@@ -6,12 +6,20 @@
#
SET(ICET_GL_SRCS
gl_state.c
gl_draw.c
gl_image.c
)
gl_state.c
gl_draw.c
gl_image.c
)
SET(ICET_GL_HEADERS
../include/IceTGL.h
)
ICET_ADD_LIBRARY(IceTGL ${ICET_GL_SRCS})
ICET_ADD_LIBRARY(IceTGL ${ICET_GL_SRCS} ${ICET_GL_HEADERS})
SET_SOURCE_FILES_PROPERTIES(${ICET_GL_HEADERS}
PROPERTIES HEADER_FILE_ONLY TRUE
)
TARGET_LINK_LIBRARIES(IceTGL
IceTCore
......
......@@ -6,32 +6,60 @@
#
SET(ICET_SRCS
porting.c
context.c
state.c
diagnostics.c
communication.c
tiles.c
timing.c
matrix.c
projections.c
draw.c
image.c
../strategies/common.c
../strategies/select.c
../strategies/direct.c
../strategies/sequential.c
../strategies/split.c
../strategies/reduce.c
../strategies/vtree.c
../strategies/bswap.c
../strategies/radixk.c
../strategies/tree.c
../strategies/automatic.c
)
ICET_ADD_LIBRARY(IceTCore ${ICET_SRCS})
porting.c
context.c
state.c
diagnostics.c
communication.c
tiles.c
timing.c
matrix.c
projections.c
draw.c
image.c
../strategies/common.c
../strategies/select.c
../strategies/direct.c
../strategies/sequential.c
../strategies/split.c
../strategies/reduce.c
../strategies/vtree.c
../strategies/bswap.c
../strategies/radixk.c
../strategies/tree.c
../strategies/automatic.c
)
SET(ICET_HEADERS
../include/IceT.h
../include/IceTDevCommunication.h
../include/IceTDevContext.h
../include/IceTDevDiagnostics.h
../include/IceTDevGLImage.h
../include/IceTDevImage.h
../include/IceTDevMatrix.h
../include/IceTDevPorting.h
../include/IceTDevProjections.h
../include/IceTDevState.h
../include/IceTDevStrategySelect.h
../include/IceTDevTiming.h
cc_composite_func_body.h
cc_composite_template_body.h
compress_func_body.h
compress_template_body.h
decompress_func_body.h
decompress_template_body.h
../strategies/common.h
)
ICET_ADD_LIBRARY(IceTCore ${ICET_SRCS} ${ICET_HEADERS})
SET_SOURCE_FILES_PROPERTIES(${ICET_HEADERS}
PROPERTIES HEADER_FILE_ONLY TRUE
)
IF (UNIX)
# Depend on the math library under Unix.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment