File tree Expand file tree Collapse file tree 3 files changed +435
-7
lines changed Expand file tree Collapse file tree 3 files changed +435
-7
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ enable_language(C CXX ASM)
1414
1515set (CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR} /cmake)
1616
17+ include (CTest)
1718include (OptimizeForArchitecture)
1819
1920if (PROJECT_SOURCE_DIR STREQUAL CMAKE_SOURCE_DIR )
@@ -90,6 +91,7 @@ add_subdirectory(jsrc/openssl/sha)
9091if (BUILD_SHARED_LIBS )
9192 set_target_properties (j-openssl-sha j-sleef j-base64 PROPERTIES
9293 POSITION_INDEPENDENT_CODE ON )
94+ add_subdirectory (test )
9395endif ()
9496target_link_libraries (j PRIVATE j-openssl-sha j-sleef j-base64)
9597if (WIN32 )
Original file line number Diff line number Diff line change @@ -218,13 +218,6 @@ if(NOT BUILD_SHARED_LIBS)
218218 return ()
219219endif ()
220220
221- add_library (tsdll SHARED)
222- target_link_libraries (tsdll PRIVATE ${STANDARD_MATH_LIBRARY} )
223- target_sources (tsdll PRIVATE
224- tsdll.c
225- ../makevs/tsdll/tsdll.def
226- )
227-
228221add_library (linenoise OBJECT EXCLUDE_FROM_ALL )
229222target_compile_definitions (linenoise INTERFACE USE_LINENOISE)
230223target_compile_definitions (linenoise PUBLIC $<$<PLATFORM_ID:Windows>:_CRT_SECURE_NO_WARNINGS>)
You can’t perform that action at this time.
0 commit comments