more win32 support

This commit is contained in:
Vítor Santos Costa 2016-01-20 22:36:52 +00:00
parent 828c2c9f6e
commit 3074256cc1
4 changed files with 14 additions and 11 deletions

View File

@ -69,4 +69,5 @@
install(TARGETS horus HorusCli
RUNTIME DESTINATION ${bindir}
LIBRARY DESTINATION ${dlls}
ARCHIVE DESTINATION ${dlls}
)

View File

@ -67,6 +67,8 @@ IF (CUDD_FOUND)
install(TARGETS cudd
LIBRARY DESTINATION ${dlls}
ARCHIVE DESTINATION ${dlls}
)
INSTALL(FILES bdd.yap DESTINATION ${libpl})

View File

@ -168,6 +168,7 @@ IF (CUDD_FOUND_EXPORT)
install(TARGETS cplint
LIBRARY DESTINATION ${dlls}
ARCHIVE DESTINATION ${dlls}
)
INSTALL(FILES ${CPLINT_PROGRAMS} DESTINATION ${libpl})

View File

@ -3,11 +3,11 @@ PROJECT ( YAP_REAL C )
macro_optional_find_package (R ON)
macro_log_feature (R_HOME "R"
macro_log_feature (R_FOUND "R"
"Use R Environment"
"http://www.r.org" FALSE)
if (R_HOME)
if (R_FOUND)
set (REAL_SOURCES
real.c
@ -25,14 +25,12 @@ include_directories (
)
#R_COMMAND - Path to R command
# R_HOME - Path to 'R home', as reported by R
# R_INCLUDE_DIR - Path to R include directory
# R_LIBRARY_BASE - Path to R library
# R_LIBRARY_BLAS - Path to Rblas / blas library
# R_LIBRARY_LAPACK - Path to Rlapack / lapack library
# R_LIBRARY_READLINE - Path to readline library
# R_LIBRARIES - Array of: R_LIBRARY_BASE, R_LIBRARY_BLAS, R_LIBRARY_LAPACK, R_LIBRARY_BASE [, R_LIBRARY_READLINE]
# The module defines the following variables:
# R_FOUND - System has R
# R_EXECUTABLE - The R interpreter
# R_INCLUDE_DIR - the R include directory
# R_LIBRARIES - The libraries needed to use R
# R_VERSION_STRING - R version
add_library (real SHARED ${REAL_SOURCES})
@ -48,6 +46,7 @@ include_directories (
install(TARGETS real
LIBRARY DESTINATION ${dlls}
ARCHIVE DESTINATION ${dlls}
)
install(FILES real.pl
@ -55,4 +54,4 @@ include_directories (
)
endif (R_HOME)
endif (R_FOUND)