[CMake] Cmake link trouble in Windows

2012-10-23 Thread
hello: Thanks for your help。 but now i am in another trouble. In Windows,i am trying to build a shard library,It needs to link dynamic library and static library。 when i want to link a dynamic library,it comes: (fatal error U1073:does not know how to generate ACE.lib)

[CMake] cmake trouble

2012-10-22 Thread
Hello: I am using cmake for three months now. but was trouble in a situation 。for details bellow: (in Windows,using Microsoft Visual Studio 2008) ADD_LIBRARY(test SHARED ${LIBTEST_SRC} ${LIBHELLO_SRC}) #ADD_LIBRARY(test STATIC ${LIBTEST_SRC} ${LIBHELLO_SRC}) #add executable

[CMake] cmake trouble

2012-10-22 Thread
Hello: I am using cmake for three months now. but was trouble in a situation 。for details bellow: (in Windows) ADD_LIBRARY(test SHARED ${LIBTEST_SRC} ${LIBHELLO_SRC}) #ADD_LIBRARY(test STATIC ${LIBTEST_SRC} ${LIBHELLO_SRC}) #add executable AUX_SOURCE_DIRECTORY(. FAN_SRC)