~ubuntu-branches/ubuntu/wily/qca2/wily-proposed

« back to all changes in this revision

Viewing changes to qca/unittest/keybundle/CMakeLists.txt

  • Committer: Bazaar Package Importer
  • Author(s): Jan Niehusmann
  • Date: 2007-10-27 18:51:54 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20071027185154-4ir9ys3h2q9fofrw
Tags: 2.0.0-2
Upload to unstable

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
ENABLE_TESTING()
2
 
 
3
 
set(keybundleunittest_bin_SRCS keybundle.cpp)  
4
 
 
5
 
MY_AUTOMOC( keybundleunittest_bin_SRCS )
6
 
 
7
 
add_executable( keybundle ${keybundleunittest_bin_SRCS} )
8
 
 
9
 
target_link_libraries( keybundle qca ${QT_QTTEST_LIBRARY})
10
 
 
11
 
 
12
 
FOREACH( testFileName RootCA2cert.pem  servergood2.p12  
13
 
         user2goodcert.pem  user2goodkey.pem  user2good.p12 )
14
 
   CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/${testFileName} ${CMAKE_CURRENT_BINARY_DIR}/${testFileName} COPYONLY)
15
 
ENDFOREACH( testFileName )
16
 
 
17
 
ADD_TEST(KeyBundle ${EXECUTABLE_OUTPUT_PATH}/keybundle)