On 7/30/07, gga [EMAIL PROTECTED] wrote:
Timur Ivanov wrote:
The problem is that common.cpp recompiled 3 times but I would like not
to do that waste of time. Is it possible ?
No and Yes. No, cmake in general does not allow to do it easily or
reliably.
But your OS does. Make
Hello
I suspect that i am asking very basic question but i am very new to cmake
Suppose at top level CMakeLists.txt I have:
ADD_EXECUTABLE(test test.cpp ./common/common.cpp)
ADD_SUBDIRECTORY(test_1)
ADD_SUBDIRECTORY(test_2)
Then in test1 directory in CMakeLists.txt
ADD_EXECUTABLE(test_1
On 7/30/07, Timur Ivanov [EMAIL PROTECTED] wrote:
The problem is that common.cpp recompiled 3 times but I would like not
to do that waste of time. Is it possible ?
Yep. Did you look at Chicken yet?
Cheers,
Brandon Van Every
___
CMake mailing list
On 7/31/07, Brandon Van Every [EMAIL PROTECTED] wrote:
On 7/30/07, Timur Ivanov [EMAIL PROTECTED] wrote:
The problem is that common.cpp recompiled 3 times but I would like not
to do that waste of time. Is it possible ?
Yep. Did you look at Chicken yet?
Yes, I did. But it is a little
On 7/30/07, Timur Ivanov [EMAIL PROTECTED] wrote:
On 7/31/07, Brandon Van Every [EMAIL PROTECTED] wrote:
On 7/30/07, Timur Ivanov [EMAIL PROTECTED] wrote:
The problem is that common.cpp recompiled 3 times but I would like not
to do that waste of time. Is it possible ?
Yep. Did you
Timur Ivanov wrote:
The problem is that common.cpp recompiled 3 times but I would like not
to do that waste of time. Is it possible ?
No and Yes. No, cmake in general does not allow to do it easily or
reliably.
But your OS does. Make common.cpp into either a static or dynamic
library and