mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-17 11:05:03 +02:00
cmake fixes
This commit is contained in:
@@ -15,5 +15,5 @@ set(TESTUNIT "${LIBNAME}-testrunner")
|
|||||||
|
|
||||||
add_executable( ${TESTUNIT} ${TEST_SRCS} )
|
add_executable( ${TESTUNIT} ${TEST_SRCS} )
|
||||||
set_target_properties( ${TESTUNIT} PROPERTIES COMPILE_FLAGS ${RELEASE_CXX_FLAGS} )
|
set_target_properties( ${TESTUNIT} PROPERTIES COMPILE_FLAGS ${RELEASE_CXX_FLAGS} )
|
||||||
target_link_libraries( ${TESTUNIT} PocoMySQL PocoData PocoFoundation CppUnit )
|
target_link_libraries( ${TESTUNIT} PocoDataMySQL PocoData PocoFoundation CppUnit )
|
||||||
|
|
||||||
|
@@ -22,5 +22,5 @@ set(TESTUNIT "${LIBNAME}-testrunner")
|
|||||||
|
|
||||||
add_executable( ${TESTUNIT} ${TEST_SRCS} )
|
add_executable( ${TESTUNIT} ${TEST_SRCS} )
|
||||||
set_target_properties( ${TESTUNIT} PROPERTIES COMPILE_FLAGS ${RELEASE_CXX_FLAGS} )
|
set_target_properties( ${TESTUNIT} PROPERTIES COMPILE_FLAGS ${RELEASE_CXX_FLAGS} )
|
||||||
target_link_libraries( ${TESTUNIT} PocoODBC PocoData PocoFoundation CppUnit )
|
target_link_libraries( ${TESTUNIT} PocoDataODBC PocoData PocoFoundation CppUnit )
|
||||||
|
|
||||||
|
@@ -14,5 +14,5 @@ set(TESTUNIT "${LIBNAME}-testrunner")
|
|||||||
|
|
||||||
add_executable( ${TESTUNIT} ${TEST_SRCS} )
|
add_executable( ${TESTUNIT} ${TEST_SRCS} )
|
||||||
set_target_properties( ${TESTUNIT} PROPERTIES COMPILE_FLAGS ${RELEASE_CXX_FLAGS} )
|
set_target_properties( ${TESTUNIT} PROPERTIES COMPILE_FLAGS ${RELEASE_CXX_FLAGS} )
|
||||||
target_link_libraries( ${TESTUNIT} PocoSQLite PocoData PocoFoundation CppUnit )
|
target_link_libraries( ${TESTUNIT} PocoDataSQLite PocoData PocoFoundation CppUnit )
|
||||||
|
|
||||||
|
@@ -13,6 +13,6 @@ objects = SQLiteTestSuite Driver \
|
|||||||
|
|
||||||
target = testrunner
|
target = testrunner
|
||||||
target_version = 1
|
target_version = 1
|
||||||
target_libs = PocoSQLite PocoData PocoFoundation CppUnit
|
target_libs = PocoDataSQLite PocoData PocoFoundation CppUnit
|
||||||
|
|
||||||
include $(POCO_BASE)/build/rules/exec
|
include $(POCO_BASE)/build/rules/exec
|
||||||
|
@@ -5,4 +5,4 @@ aux_source_directory(src LOCAL_SRCS)
|
|||||||
|
|
||||||
add_executable( ${SAMPLE_NAME} ${LOCAL_SRCS} )
|
add_executable( ${SAMPLE_NAME} ${LOCAL_SRCS} )
|
||||||
set_target_properties( ${SAMPLE_NAME} PROPERTIES COMPILE_FLAGS ${RELEASE_CXX_FLAGS} )
|
set_target_properties( ${SAMPLE_NAME} PROPERTIES COMPILE_FLAGS ${RELEASE_CXX_FLAGS} )
|
||||||
target_link_libraries( ${SAMPLE_NAME} PocoSQLite PocoData PocoFoundation )
|
target_link_libraries( ${SAMPLE_NAME} PocoDataSQLite PocoData PocoFoundation )
|
||||||
|
@@ -5,4 +5,4 @@ aux_source_directory(src LOCAL_SRCS)
|
|||||||
|
|
||||||
add_executable( ${SAMPLE_NAME} ${LOCAL_SRCS} )
|
add_executable( ${SAMPLE_NAME} ${LOCAL_SRCS} )
|
||||||
set_target_properties( ${SAMPLE_NAME} PROPERTIES COMPILE_FLAGS ${RELEASE_CXX_FLAGS} )
|
set_target_properties( ${SAMPLE_NAME} PROPERTIES COMPILE_FLAGS ${RELEASE_CXX_FLAGS} )
|
||||||
target_link_libraries( ${SAMPLE_NAME} PocoSQLite PocoData PocoFoundation )
|
target_link_libraries( ${SAMPLE_NAME} PocoDataSQLite PocoData PocoFoundation )
|
||||||
|
@@ -5,4 +5,4 @@ aux_source_directory(src LOCAL_SRCS)
|
|||||||
|
|
||||||
add_executable( ${SAMPLE_NAME} ${LOCAL_SRCS} )
|
add_executable( ${SAMPLE_NAME} ${LOCAL_SRCS} )
|
||||||
set_target_properties( ${SAMPLE_NAME} PROPERTIES COMPILE_FLAGS ${RELEASE_CXX_FLAGS} )
|
set_target_properties( ${SAMPLE_NAME} PROPERTIES COMPILE_FLAGS ${RELEASE_CXX_FLAGS} )
|
||||||
target_link_libraries( ${SAMPLE_NAME} PocoSQLite PocoData PocoFoundation )
|
target_link_libraries( ${SAMPLE_NAME} PocoDataSQLite PocoData PocoFoundation )
|
||||||
|
@@ -5,4 +5,4 @@ aux_source_directory(src LOCAL_SRCS)
|
|||||||
|
|
||||||
add_executable( ${SAMPLE_NAME} ${LOCAL_SRCS} )
|
add_executable( ${SAMPLE_NAME} ${LOCAL_SRCS} )
|
||||||
set_target_properties( ${SAMPLE_NAME} PROPERTIES COMPILE_FLAGS ${RELEASE_CXX_FLAGS} )
|
set_target_properties( ${SAMPLE_NAME} PROPERTIES COMPILE_FLAGS ${RELEASE_CXX_FLAGS} )
|
||||||
target_link_libraries( ${SAMPLE_NAME} PocoSQLite PocoData PocoFoundation )
|
target_link_libraries( ${SAMPLE_NAME} PocoDataSQLite PocoData PocoFoundation )
|
||||||
|
@@ -5,4 +5,4 @@ aux_source_directory(src LOCAL_SRCS)
|
|||||||
|
|
||||||
add_executable( ${SAMPLE_NAME} ${LOCAL_SRCS} )
|
add_executable( ${SAMPLE_NAME} ${LOCAL_SRCS} )
|
||||||
set_target_properties( ${SAMPLE_NAME} PROPERTIES COMPILE_FLAGS ${RELEASE_CXX_FLAGS} )
|
set_target_properties( ${SAMPLE_NAME} PROPERTIES COMPILE_FLAGS ${RELEASE_CXX_FLAGS} )
|
||||||
target_link_libraries( ${SAMPLE_NAME} PocoSQLite PocoData PocoFoundation )
|
target_link_libraries( ${SAMPLE_NAME} PocoDataSQLite PocoData PocoFoundation )
|
||||||
|
8
Util/samples/pkill/CMakeLists.txt
Normal file
8
Util/samples/pkill/CMakeLists.txt
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
set(SAMPLE_NAME "pkill")
|
||||||
|
|
||||||
|
set(LOCAL_SRCS "")
|
||||||
|
aux_source_directory(src LOCAL_SRCS)
|
||||||
|
|
||||||
|
add_executable( ${SAMPLE_NAME} ${LOCAL_SRCS} )
|
||||||
|
set_target_properties( ${SAMPLE_NAME} PROPERTIES COMPILE_FLAGS ${RELEASE_CXX_FLAGS} )
|
||||||
|
target_link_libraries( ${SAMPLE_NAME} PocoUtil PocoXML PocoFoundation )
|
Reference in New Issue
Block a user