include headers for MSVC

This commit is contained in:
Enno Rehling 2012-06-06 20:33:15 -07:00
parent 2bf3c840ae
commit d2cee21af5
2 changed files with 4 additions and 1 deletions

1
.gitignore vendored
View File

@ -12,3 +12,4 @@ Release/
src/*.vcproj.*.user src/*.vcproj.*.user
tags tags
build-vs2010 build-vs2010
config

View File

@ -41,6 +41,8 @@ include_directories (${LIBXML2_INCLUDE_DIR})
include_directories (${BSON_INCLUDE_DIR}) include_directories (${BSON_INCLUDE_DIR})
include_directories (${INIPARSER_INCLUDE_DIR}) include_directories (${INIPARSER_INCLUDE_DIR})
FILE (GLOB_RECURSE LIB_HDR *.h)
set (TEST_SRC set (TEST_SRC
tests.c tests.c
tests_test.c tests_test.c
@ -216,7 +218,7 @@ set (LIB_SRC
util/xml.c util/xml.c
) )
add_library(${ERESSEA_LIBRARY} ${LIB_SRC}) add_library(${ERESSEA_LIBRARY} ${LIB_SRC} ${LIB_HDR})
target_link_libraries(${ERESSEA_LIBRARY} ${ERESSEA_LIBRARIES}) target_link_libraries(${ERESSEA_LIBRARY} ${ERESSEA_LIBRARIES})
add_executable(${PROJECT_NAME}_test ${TEST_SRC}) add_executable(${PROJECT_NAME}_test ${TEST_SRC})