2016-03-13 14:36:10 +01:00
|
|
|
set(SQSTDLIB_SRC sqstdaux.cpp
|
|
|
|
sqstdblob.cpp
|
2016-03-08 14:43:19 +01:00
|
|
|
sqstdio.cpp
|
|
|
|
sqstdmath.cpp
|
2016-03-13 14:36:10 +01:00
|
|
|
sqstdrex.cpp
|
|
|
|
sqstdstream.cpp
|
2016-03-08 14:43:19 +01:00
|
|
|
sqstdstring.cpp
|
2016-03-13 14:36:10 +01:00
|
|
|
sqstdsystem.cpp)
|
2016-01-29 18:56:44 +01:00
|
|
|
|
2016-03-08 14:43:19 +01:00
|
|
|
add_library(sqstdlib SHARED ${SQSTDLIB_SRC})
|
|
|
|
target_link_libraries(sqstdlib squirrel)
|
2016-03-13 14:36:10 +01:00
|
|
|
install(TARGETS sqstdlib RUNTIME DESTINATION ${INSTALL_BIN_DIR}
|
|
|
|
LIBRARY DESTINATION ${INSTALL_LIB_DIR}
|
|
|
|
ARCHIVE DESTINATION ${INSTALL_LIB_DIR})
|
2016-01-29 18:56:44 +01:00
|
|
|
|
2016-03-08 14:43:19 +01:00
|
|
|
add_library(sqstdlib_static STATIC ${SQSTDLIB_SRC})
|
2016-03-13 14:36:10 +01:00
|
|
|
install(TARGETS sqstdlib_static ARCHIVE DESTINATION ${INSTALL_LIB_DIR})
|