I have a little problem.
I have project's tree and several files with c extension and I want
to compile one file by g++ compiler and not c compiler.
./Trunk
|
-TEST
|
-test.c
-test1.c
-test2.c
-CMakeLists.txt
|
-CMakeLists.txt
-
I make in
I have several files with uppercase file extensions.
for example:
TEST.C
TEST.H
TEST2.CPP
TEST2.H
and this file is not compiling by CMake.
CMake doesn't see this file.
CMAKE_C_SOURCE_FILE_EXTENSIONS variable has a value equal c
How do I solution this problem or to add in
2008/7/7 [EMAIL PROTECTED]:
I have a little problem.
I have project's tree and several files with c extension and I want
to compile one file by g++ compiler and not c compiler.
./Trunk
|
-TEST
|
-test.c
-test1.c
-test2.c
-CMakeLists.txt
|
-CMakeLists.txt
It is clear. I just would like to know a similiar command of cmake.
...it is a pity there is no one.
Thanks.
2008/7/7, Timenkov Yuri [EMAIL PROTECTED]:
On Monday 07 July 2008 15:53:00 Alexander Bubnov wrote:
Hello!
Below simple example to clarify the problem.
My
On Monday 07 July 2008 16:07:54 Alexander Bubnov wrote:
It is clear. I just would like to know a similiar command of cmake.
...it is a pity there is no one.
You can export variables for child processes, but not for parent. Look for
pkg-config: rather than exporting something, it just prints it
On 07.07.08 16:07:54, Alexander Bubnov wrote:
It is clear. I just would like to know a similiar command of cmake.
...it is a pity there is no one.
You're misunderstanding. Its not possible for any given process (or
program) to modify the environment of its parent process. So if you run
an
Hi Bob,
I'm also using wxWidgets 2.8.7 with MinGW/CLI and as Miguel wrote, you
need to pass some extra parameters so that cmake can find wxWidgets. I
usually use the zipped wxWidgets package, set the WXWIN environment
variable, then compile it, and then pass the following to cmake:
cmake
Thanks, Andreas and Yuri!
2008/7/7, Andreas Pakulat [EMAIL PROTECTED]:
On 07.07.08 16:07:54, Alexander Bubnov wrote:
It is clear. I just would like to know a similiar command of cmake.
...it is a pity there is no one.
You're misunderstanding. Its not possible for any given process (or
On Mon, Jul 7, 2008 at 2:39 AM, Timenkov Yuri wrote:
On Monday 07 July 2008 10:26:49 Miguel A. Figueroa-Villanueva wrote:
Hello,
I would like to propose the addition of a NO_CACHE keyword to the
find_xxx commands that would treat VAR as a non-cached variable. I
have posted this as a feature
On Mon, Jul 7, 2008 at 2:04 AM, Enrico Scholz wrote:
Miguel A. Figueroa-Villanueva writes:
I would like to propose the addition of a NO_CACHE keyword to the
find_xxx commands that would treat VAR as a non-cached variable.
Better wolution would be the equivalent of autoconf's './config.status
Miguel A. Figueroa-Villanueva wrote:
On Mon, Jul 7, 2008 at 2:04 AM, Enrico Scholz wrote:
Miguel A. Figueroa-Villanueva writes:
I would like to propose the addition of a NO_CACHE keyword to the
find_xxx commands that would treat VAR as a non-cached variable.
Better wolution would be the
On Mon, Jul 7, 2008 at 8:41 AM, Bill Hoffman wrote:
Miguel A. Figueroa-Villanueva wrote:
On Mon, Jul 7, 2008 at 2:04 AM, Enrico Scholz wrote:
Miguel A. Figueroa-Villanueva writes:
I would like to propose the addition of a NO_CACHE keyword to the
find_xxx commands that would treat VAR as a
Hi,
I need to set multiple symbols in one of my target of my project. I can't
use add_definitions because I don't want to define those variable for all my
targets, so I tried custom properties.
set_target_properties( target PROPERTIES DEFINE_SYMBOL VALUE1 VALUE2 )
doesn't work : the function
On Monday 07 July 2008 19:59:24 Mehdi Rabah wrote:
Hi,
I need to set multiple symbols in one of my target of my project. I can't
use add_definitions because I don't want to define those variable for all
my targets, so I tried custom properties.
set_target_properties( target PROPERTIES
supposedly you can do
ADD_DEFINITIONS(...)
ADD_LIBRARY(...)
REMOVE_DEFINITIONS(...)
which might work.
--
Mike Jackson Senior Research Engineer
Innovative Management Technology Services
On Jul 7, 2008, at 12:09 PM, Yuri Timenkov wrote:
On Monday 07 July 2008 19:59:24 Mehdi Rabah
Hi,
I'm using the cache to avoid multiple target of the same library:
if( not libname_already_defined )
set( libname_already_defined TRUE CACHE INTERNAL TRUE )
...
endif( not libname_already_defined )
It works well under linux using the command line tool. The command line also
produces a
Miguel A. Figueroa-Villanueva [EMAIL PROTECTED]
writes:
I would like to propose the addition of a NO_CACHE keyword to the
find_xxx commands that would treat VAR as a non-cached variable.
Better wolution would be the equivalent of autoconf's './config.status
--recheck', e.g. reinvoking cmake
On Monday 07 July 2008, Hendrik Sattler wrote:
Zitat von Alexander Neundorf [EMAIL PROTECTED]:
On Wednesday 02 July 2008, Hendrik Sattler wrote:
Am Mittwoch, 2. Juli 2008 18:59:37 schrieb Wookey:
...
Additionally, I found that the include paths are another source of
problems, not
On Mon, Jul 7, 2008 at 1:04 PM, Enrico Scholz wrote:
Miguel A. Figueroa-Villanueva writes:
I would like to propose the addition of a NO_CACHE keyword to the
find_xxx commands that would treat VAR as a non-cached variable.
Better wolution would be the equivalent of autoconf's './config.status
On Monday 07 July 2008, Gerrick Bivins wrote:
Hello,
I¹m trying to dive into Cmake and I¹ve tried creating new targets for an
existing project using Cmake. So far everything
Works ok but on Mac, my shared object targets are creating *.so files. I¹m
not concerned about bundles and frameworks
Alexander Neundorf wrote:
On Monday 07 July 2008, Gerrick Bivins wrote:
Hello,
I¹m trying to dive into Cmake and I¹ve tried creating new targets for an
existing project using Cmake. So far everything
Works ok but on Mac, my shared object targets are creating *.so files. I¹m
not concerned about
I realized I left out the fact that I'm using the swig module.
Sorry about that.
Does the SWIG_ADD_MODULE have a SWIG_ADD_LIBRARY equivalent?
Alexander Neundorf wrote:
On Monday 07 July 2008, Gerrick Bivins wrote:
Hello,
I¹m trying to dive into Cmake and I¹ve tried creating new targets for an
Miguel A. Figueroa-Villanueva [EMAIL PROTECTED]
writes:
Better wolution would be the equivalent of autoconf's './config.status
--recheck', e.g. reinvoking cmake with empty cache but with original
configuration options.
...
Maybe I'm missing the point, so please explain how this would work
Hello,
Another newbie question, I think I know how to create .java files from swig
using Cmake and I think I know how to create a jar file from .class BUT
I¹m not sure how to call the java compiler (javac) on each .java file to
create my .class files. For starters, how would I loop over the *.java
On Monday 07 July 2008, Timenkov Yuri wrote:
On Monday 07 July 2008 10:26:49 Miguel A. Figueroa-Villanueva wrote:
Hello,
I would like to propose the addition of a NO_CACHE keyword to the
find_xxx commands that would treat VAR as a non-cached variable. I
have posted this as a feature
On Mon, Jul 7, 2008 at 6:25 PM, Alexander Neundorf wrote:
On Monday 07 July 2008, Timenkov Yuri wrote:
On Monday 07 July 2008 10:26:49 Miguel A. Figueroa-Villanueva wrote:
Hello,
I would like to propose the addition of a NO_CACHE keyword to the
find_xxx commands that would treat VAR as a
O/H Gerrick Bivins ??:
Hello,
Another newbie question, I think I know how to create .java files from
swig using Cmake and I think I know how to create a jar file from
.class BUT
I'm not sure how to call the java compiler (javac) on each .java file
to create my .class files. For starters,
27 matches
Mail list logo