equal
deleted
inserted
replaced
39 target_link_libraries (irc_log ${Evsql_LIBRARIES}) |
39 target_link_libraries (irc_log ${Evsql_LIBRARIES}) |
40 target_link_libraries (logwatch ${PCRE_LIBRARIES}) |
40 target_link_libraries (logwatch ${PCRE_LIBRARIES}) |
41 |
41 |
42 # nexus needs to export its symbols to be able to load modules |
42 # nexus needs to export its symbols to be able to load modules |
43 set_target_properties (nexus PROPERTIES |
43 set_target_properties (nexus PROPERTIES |
|
44 # XXX: use ENABLE_EXPORTS? |
44 LINK_FLAGS "--export-dynamic" |
45 LINK_FLAGS "--export-dynamic" |
45 ) |
46 ) |
46 |
47 |
47 # modules have weird names |
48 # modules have weird names |
48 set_target_properties (irc_log logwatch PROPERTIES |
49 set_target_properties (irc_log logwatch PROPERTIES |
73 COMPILE_FLAGS ${TEST_CFLAGS} |
74 COMPILE_FLAGS ${TEST_CFLAGS} |
74 LINK_FLAGS ${TEST_LFLAGS} |
75 LINK_FLAGS ${TEST_LFLAGS} |
75 ) |
76 ) |
76 |
77 |
77 # path to directory containing the .o/.gcdo/.gcno files for the test harness |
78 # path to directory containing the .o/.gcdo/.gcno files for the test harness |
78 set (TEST_OBJECT_DIR "${CMAKE_CURRENT_BINARY_DIR}" PARENT_SCOPE) |
79 get_target_property (TEST_OBJECT_DIR test_harness LOCATION) |
|
80 get_filename_component (TEST_OBJECT_DIR ${TEST_OBJECT_DIR} PATH) |
|
81 |
|
82 # XXX: ugly hardcoding of CMake internals, but I can't find anything else for this |
|
83 set (TEST_OBJECT_DIR ${TEST_OBJECT_DIR}/CMakeFiles/test_harness.dir PARENT_SCOPE) |
79 |
84 |
80 endif (ENABLE_TEST) |
85 endif (ENABLE_TEST) |
81 |
86 |
82 ## setup install info |
87 ## setup install info |
83 #install (TARGETS evirc |
88 #install (TARGETS evirc |