Skip to content

Commit

Permalink
normalize line endings
Browse files Browse the repository at this point in the history
  • Loading branch information
0u812 committed Apr 14, 2015
1 parent 24c825b commit 9a2e95d
Show file tree
Hide file tree
Showing 328 changed files with 131,169 additions and 131,169 deletions.
168 changes: 84 additions & 84 deletions third_party/rr-libstruct/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,84 +1,84 @@
CMAKE_MINIMUM_REQUIRED(VERSION 2.8)
project(rr-libstruct)

# Option that allows users to build static and/or shared libraries
# ----------------------------------------------------------------
OPTION(LIBSTRUCT_BUILD_STATIC_LIBS "Build static libraries" ON)
OPTION(LIBSTRUCT_BUILD_SHARED_LIBS "Build shared libraries" OFF)
set(target rr-libstruct)

set(sources
lsMatrix
lsLibStructural
lsSBMLModel
lsUtils
lsLibla
lsLA
lsLUResult
)


include_directories(
.
${THIRD_PARTY_FOLDER}/clapack/3.2.1/INCLUDE
${THIRD_PARTY_FOLDER}/${RR_LIBSBML}/src
)

#add_library(${target} SHARED ${sources})
#
#set_property(TARGET ${target}
# PROPERTY COMPILE_DEFINITIONS
# WIN32
# SHARED_NLEQ
# )
#
#Then the static version
add_library(${target}-static STATIC ${sources})

set(static_compile_definitions
STATIC_LIBSTRUCT
LIBSBML_USE_CPP_NAMESPACE
LIBSBML_STATIC
)

if(WIN32)
set(static_compile_definitions
${static_compile_definitions}
WIN32
)
endif()

set_property(TARGET ${target}-static
PROPERTY COMPILE_DEFINITIONS
${static_compile_definitions}
)

#libraries to link with
if(${MINGW})
else()
#target_link_libraries (${target} libf2c)
#target_link_libraries (${target}-static libf2c)
endif()

set(headers
lsExporter.h
lsMatrix.h
lsLibStructural.h
lsLA.h
lsLibla.h
lsLUResult.h
)

#Install required files
install(FILES ${headers}
DESTINATION include/rr-libstruct)

#install(TARGETS ${target}
# LIBRARY DESTINATION lib
# ARCHIVE DESTINATION lib
# RUNTIME DESTINATION bin)
#
install(TARGETS ${target}-static
LIBRARY DESTINATION lib
ARCHIVE DESTINATION lib)

CMAKE_MINIMUM_REQUIRED(VERSION 2.8)
project(rr-libstruct)

# Option that allows users to build static and/or shared libraries
# ----------------------------------------------------------------
OPTION(LIBSTRUCT_BUILD_STATIC_LIBS "Build static libraries" ON)
OPTION(LIBSTRUCT_BUILD_SHARED_LIBS "Build shared libraries" OFF)
set(target rr-libstruct)

set(sources
lsMatrix
lsLibStructural
lsSBMLModel
lsUtils
lsLibla
lsLA
lsLUResult
)


include_directories(
.
${THIRD_PARTY_FOLDER}/clapack/3.2.1/INCLUDE
${THIRD_PARTY_FOLDER}/${RR_LIBSBML}/src
)

#add_library(${target} SHARED ${sources})
#
#set_property(TARGET ${target}
# PROPERTY COMPILE_DEFINITIONS
# WIN32
# SHARED_NLEQ
# )
#
#Then the static version
add_library(${target}-static STATIC ${sources})

set(static_compile_definitions
STATIC_LIBSTRUCT
LIBSBML_USE_CPP_NAMESPACE
LIBSBML_STATIC
)

if(WIN32)
set(static_compile_definitions
${static_compile_definitions}
WIN32
)
endif()

set_property(TARGET ${target}-static
PROPERTY COMPILE_DEFINITIONS
${static_compile_definitions}
)

#libraries to link with
if(${MINGW})
else()
#target_link_libraries (${target} libf2c)
#target_link_libraries (${target}-static libf2c)
endif()

set(headers
lsExporter.h
lsMatrix.h
lsLibStructural.h
lsLA.h
lsLibla.h
lsLUResult.h
)

#Install required files
install(FILES ${headers}
DESTINATION include/rr-libstruct)

#install(TARGETS ${target}
# LIBRARY DESTINATION lib
# ARCHIVE DESTINATION lib
# RUNTIME DESTINATION bin)
#
install(TARGETS ${target}-static
LIBRARY DESTINATION lib
ARCHIVE DESTINATION lib)

Loading

0 comments on commit 9a2e95d

Please sign in to comment.