Eduard Bloch wrote:
#include
* Brandon J. Van Every [Fri, Aug 25 2006, 01:19:13PM]:
Eduard Bloch wrote:
Okay. I made a similar thing... removed the absolute path completely so
it is now generated in CMAKE_BINARY_DIR and I added ${CMAKE_BINARY_DIR}
to the INCLUDE_DI
Brad King wrote:
Yann Renard wrote:
Brad King wrote:
You need to run CMake from the same command prompt in which the
environment is set. From that same command prompt try:
mkdir myproj-build
cd myproj-build
cmake c:/path/to/myproj -G"NMake Makefiles"
Make sure you have a clean source tree in
Yann Renard wrote:
> Brad King wrote:
>> You need to run CMake from the same command prompt in which the
>> environment is set. From that same command prompt try:
>>
>> mkdir myproj-build
>> cd myproj-build
>> cmake c:/path/to/myproj -G"NMake Makefiles"
>>
>> Make sure you have a clean source tree
Brad King wrote:
Yann Renard wrote:
You did not run cmake / cmakesetup from the correct command prompt.
Therefore your env vars 'LIB' and 'INCLUDE' are not set correct.
Take a look into your start menu (PlatformSDK -> OpenBuildEnv Window
-> ...) and don't open your command prompt by executing cm
Yann Renard wrote:
>> You did not run cmake / cmakesetup from the correct command prompt.
>> Therefore your env vars 'LIB' and 'INCLUDE' are not set correct.
>> Take a look into your start menu (PlatformSDK -> OpenBuildEnv Window
>> -> ...) and don't open your command prompt by executing cmd.exe.
>
Arjen Markus wrote:
typing 'set' at the windows prompt reports the variables to be set
correctly.
Well, that at least is one thing.
What happens if you try to compile a small file by typing the compile
cmmand used by TRY_COMPILE into a DOS box?
Something like:
cl.exe -o tst.obj -c tst.c
Or
Thanks for the explaination. I added the files to the target list as suggested by Filipe, and it worked. It is nice to know this is the proper way to do it.On 8/28/06,
Brad King <[EMAIL PROTECTED]> wrote:
Doug Henry wrote:> No, since it is a dependency of a source file that is included in the> e
Doug Henry wrote:
> No, since it is a dependency of a source file that is included in the
> executable I would expect it to be handled (it was in previous
> releases). It seems that cmake does know about it, because it gives an
> error with the correct path to the file that needs to be generated.
No, since it is a dependency of a source file that is included in the executable I would expect it to be handled (it was in previous releases). It seems that cmake does know about it, because it gives an error with the correct path to the file that needs to be generated. I don't know why cmake wi
Yann Renard wrote:
> I'm trying to use cmake under windows in order to generate VC8
> makefiles. I have read
> http://cmake.org/Wiki/CMake_Generator_Specific_Information chapter about
> windows and written down a sript that looks like this :
>
> set path=d:\yrenard\platform-sdk\bin;%path%
> set in
Hello,
I have trouble getting CMake to recognise Compaq Visual Fortran
as a valid Fortran compiler under Windows.
Philippe Poilbarbe sent me his configuration module for CVF, but
he also noted that there is another problem - CVF does not like
the default options used by TRY_COMPILE.
I have been
Doug Henry wrote:
> Something about the custom command behavior has changed slightly and I am
> hoping I am just missing something. I have been able to do the following in
> the past:
>
> #
> # reswrap log.sql file
> #
>
> SET(DBNAME log_sql)
> SET(DBS ${PROJECT_BINARY_DIR}/${DBNAME}.h)
> SET(LO
My fingers slipped sorry for the last message.
2006/8/28, Yann Renard <[EMAIL PROTECTED]>:
Eric, thank you for trying to solve the problem.
I have tried both command line version of cmake and gui version (cmakesetup)
Tried with the command line prompt you suggested (I had many target
choices
Yann Renard wrote:
however, when calling 'cmake .' in my directory (even in the sample
directory provided by cmake documentation), the linker complains not
finding 'user32.lib'. This library is present in the
'd:yrenard\platform-sdk\lib' directory. The error happens before
cmake does anyt
Von: Yann Renard <[EMAIL PROTECTED]>
> Arjen Markus wrote:
> > Yann Renard wrote:
> >
> >> Cheers guys,
> >>
> >> I'm trying to use cmake under windows in order to generate VC8
> >> makefiles. I have read
> >> http://cmake.org/Wiki/CMake_Generator_Specific_Information chapter
> >> about windows
I forgot to answer to the list previously
so
2006/8/28, Yann Renard <[EMAIL PROTECTED]>:
Eric Noulard wrote:
> Hi Yann,
>
> Do you use CMake Windows GUI or command line?
>
> Could you try to launch cmake command line
> in a "Visual Studio Command Prompt".
>
> Start Menu path should lok like:
>
At 10:59 PM 8/27/2006, [EMAIL PROTECTED] wrote:
>>This is not possible with cmake. The projects depend on cmake being
>>installed.
>
>That is an unwanted dependency. Is there a way to remove this dependency?
>Thanks,
>Erwin
CMAKE_SUPPRESS_REGENERATION is the only way. Although I would not re
Arjen Markus wrote:
Yann Renard wrote:
Cheers guys,
I'm trying to use cmake under windows in order to generate VC8
makefiles. I have read
http://cmake.org/Wiki/CMake_Generator_Specific_Information chapter
about windows and written down a sript that looks like this :
set path=d:\yrenard\pl
Something about the custom command behavior has changed slightly and I am hoping I am just missing something. I have been able to do the following in the past:## reswrap log.sql file#SET(DBNAME log_sql)
SET(DBS ${PROJECT_BINARY_DIR}/${DBNAME}.h)SET(LOGSQL ${PROJECT_SOURCE_DIR}/../data/log.sql)ADD_
Yann Renard wrote:
Cheers guys,
I'm trying to use cmake under windows in order to generate VC8
makefiles. I have read
http://cmake.org/Wiki/CMake_Generator_Specific_Information chapter
about windows and written down a sript that looks like this :
set path=d:\yrenard\platform-sdk\bin;%path%
Cheers guys,
I'm trying to use cmake under windows in order to generate VC8
makefiles. I have read
http://cmake.org/Wiki/CMake_Generator_Specific_Information chapter about
windows and written down a sript that looks like this :
set path=d:\yrenard\platform-sdk\bin;%path%
set include=d:\yrena
21 matches
Mail list logo