Hi David,
thanks for the clarification. I set ${PROJECT_NAME} and ${SOURCE_DIR} to the
appropriate name, but it changes from script to script (there is one script for
every packet I create, so I only showed the code, that is used by all
projects.)
I am actually not working full time on this j
Hi again,
I am doing something wrong here, but what:
-- snip script.cmake ---
SET ( CTEST_PROJECT_NAME ${PROJECT_NAME} )
SET ( CTEST_BINARY_DIRECTORY ${SOURCE_DIR}/build )
SET ( CTEST_SOURCE_DIRECTORY ${SOURCE_DIR} )
SET ( CTEST_CMAKE_GENERATOR "Unix Makefiles" )
SET ( CTEST_ENVIRONME
> What version of ctest? What OS?
I am actually working on Windows XP with ctest version 2.6-patch 4
I changed over to learn the windows batch a bit and I created a short script to
do the work, for some things I planed to integrate into ctest.
The rest works like a charm (configuring, building,
I did the following steps:
1) creating script.cmake:
SET ( SOURCE_DIR "C:/my/sources/" )
SET ( CTEST_BINARY_DIRECTORY ${SOURCE_DIR}/build )
SET ( CTEST_SOURCE_DIRECTORY ${SOURCE_DIR} )
MESSAGE ( "Actual path is ${CTEST_SOURCE_DIRECTORY}" )
MESSAGE ( "Actual binary path is ${CTEST_BINARY_DIRECTOR
> > Maybe I did not get the point of CMAKE_SOURCE_DIR :-/
> > What I do is creating a directory "packages\project1" here I place the
> > starting CMakeLists.txt file and another subdirectory "build".
> >
> > The CMakeLists.txt consists of
> >
> > ADD_SUBDIRECTORY(../../myfirstdir)
> > ADD_SUBDI
Hi Philip,
> > thats good to know for most people using bison and flex!
> >
> > In my special case, I have to add some stuff, as the old solaris
> version, I
> > am working with only supplies yacc instead of Gnu Bison and "lex"
> instread
> > of "flex".
> >
> > Sadly these programs does not provid
To make a long story short:
What I did is, I write
SET (CMAKE_SOURCE_DIR ${CMAKE_SOURCE_DIR}/../..)
in the starting CMakeLists.txt in [whatever]/build/project1/
But it looks a bit ugly to me ...
-tom
This is not nice in my eyes, but it is
> > On Wednesday 23 September 2009 10:25:37 am th.
Hi all,
I would like to add aregistry entry through NSIS for easy access to the version
string and the installation path.
When I try this:
set ( CPACK_NSIS_EXTRA_INSTALL_COMMANDS "
WriteRegStr HKCR '${COMPLETE_PATH}' 'InstallPath' INSTALL_PATH
WriteRegStr HKCR '${COMPLETE_PATH}'
> On Wednesday 23 September 2009 10:25:37 am th@gmx.de wrote:
> > hm, right - this would solve my problem, but sadly writing everything in
> > one CMakeLists.txt file was not a clever idea, as the projects should be
> > build independently.
> >
> > Another solution I had (someone posted that)
hm, right - this would solve my problem, but sadly writing everything in one
CMakeLists.txt file was not a clever idea, as the projects should be build
independently.
Another solution I had (someone posted that) is creating a subdirectory for
every project and place the specific CMakeLists.txt
Hi,
this thread got a bit off topic, so I try to focus that again, as I tried a lot
of things, but didn't get it to run:
In the end I would like to have some (lets say 10) packages (Installer bundles,
which I can create with cpack) with several executables and libraries. My
example over-simpli
Hey Philip,
thats good to know for most people using bison and flex!
In my special case, I have to add some stuff, as the old solaris version, I am
working with only supplies yacc instead of Gnu Bison and "lex" instread of
"flex".
Sadly these programs does not provide the same command line opt
> > I have to revoke my last information. It does not work at least with a
> Visual Studio 2003 Project. Here, the system PATH is ignored.
> >
> > When I use an nmake makefile on the visual studio command line promt, it
> works fine - What is really kind of weird.
> >
> > Is there another way to te
> On Tue, Sep 22, 2009 at 05:55:49PM +0200, th@gmx.de wrote:
> > I have seen a thread about this issue but there was not a real
> > solution, so I try to ask that again: Is there a way to define a
> > specific CMakeLists.txt-file with a cmake call.
>
> Maybe you should post a link to the thread
Hi,
I have seen a thread about this issue but there was not a real solution, so I
try to ask that again: Is there a way to define a specific CMakeLists.txt-file
with a cmake call.
I have two projects, which have the same root directory (what is really nasty
but I can't change it actually):
-d
> >> We use CMake + Flex/Bison for our project
> >> https://savannah.nongnu.org/projects/certi
> >> (install doc is here: http://www.nongnu.org/certi/certi_doc/index.html
> >> but there is not much to discover)
> >>
> >> We did face the same "m4 not found" trouble and it has
> >> been "fixed" by
Hey Eric,
> > Hi,
> >
> > I have the following CMakeLists.txt:
> >
> > -
> > cmake_minimum_required(VERSION 2.6)
> > MESSAGE (" CMAKE TEST ")
> >
> > ADD_CUSTOM_COMMAND (TARGET Hello PRE_BUILD
> > COMMAND ${CMAKE_COMMAND} -E echo "Prebuild
> execution"
> >
Hi,
I have the following CMakeLists.txt:
-
cmake_minimum_required(VERSION 2.6)
MESSAGE (" CMAKE TEST ")
ADD_CUSTOM_COMMAND (TARGET Hello PRE_BUILD
COMMAND ${CMAKE_COMMAND} -E echo "Prebuild execution"
COMMENT "Information string for prebuild execu
> We use CMake + Flex/Bison for our project
> https://savannah.nongnu.org/projects/certi
> (install doc is here: http://www.nongnu.org/certi/certi_doc/index.html
> but there is not much to discover)
>
> We did face the same "m4 not found" trouble and it has
> been "fixed" by putting
> C:/Program
Hi,
I may haven't used the right keywords on google, as I believe this is asked
many times befor:
I have a multiplatform project that uses external tools (yacc/bison/lex/flex).
I don`t have any problems under linux/solaris etc. but I really had a bad time
trying to make this work under windows
20 matches
Mail list logo