Hi,
I really like CMake's find_package() utility for finding dependencies,
but for some projects I have a
separate local copy of the installed libraries, and I want to point
find_package at a particular directory to find the installed
libraries.
How can I do this?
On that note, I also have some d
Am Donnerstag 29 Dezember 2011, 06:23:25 schrieben Sie:
> Hi Elike,
>
> Thanks for the reply.
>
> I think cuda path is already exported. I have entry for export in ~/.bashrc
> file. Below are the few lines from bashrc file.
>
> #CUDA CUSTOM PATH DEFINITION
>
> > export AV_PROJECT_PATH="/home/av
Avanindra Singh wrote:
> Hi,
>
> I am trying to access environment variables in CMakeLists.txt in UNIX
> environment. Here is example code
>
> message(STATUS "cuda path $ENV{CUDA_PATHS}" )
>
> and it is not printing anything for the variable. While when i try to echo
> it on terminal , i get pro
Hi,
Søndag 25. desember 2011 20.32.41 skrev Nicholas Yue:
> Hi,
>
> I would like to package up my software to install (via DMG and PKG)
> to the /Applications/ directory
>
Is the variable CMAKE_INSTALL_PREFIX what you are looking for? Have a look at:
cmake --help-variable CMAKE_INSTALL_PREF
Hello All,
I faced issue with Visual Studio 6.0 project (.dsp) produced by CMake.
CMake version: 2.8.6
Project type: Extension DLL
Issue: CMake adds _USRDLL define for Extension DLLs (_AFXDLL and
_AFXEXT are defined). According to documentation
(http://msdn.microsoft.com/en-us/library/aa235516%
Hi,
I am trying to access environment variables in CMakeLists.txt in UNIX
environment. Here is example code
message(STATUS "cuda path $ENV{CUDA_PATHS}" )
and it is not printing anything for the variable. While when i try to echo
it on terminal , i get proper value.
avanindra@avanindra-Triayaam
If you don't want to have the full path embedded in the binary, you do.
As an addendum to my previous answer, the string after the equal sign might
need escaped quoting.
Michael.
On 28.12.2011, at 18:41, J Decker wrote:
> ya - before using the file parameter, find the last / or '\' and prin
ya - before using the file parameter, find the last / or '\' and print
from there forward... you dono't need an absolute or relative path for
that
On Tue, Dec 27, 2011 at 11:17 PM, vivek goel wrote:
> Is there any way to define custom
> macro as given in following answer
> http://stackoverflow.co
Hi Aaron,
On Dec 27, 2011, at 11:04 PM, Aaron Ten Clay wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 12/27/11 16:16, Belcourt, Kenneth wrote:
I'm trying to get CMake to execute this command
INSTALL(CODE
"EXECUTE_PROCESS (COMMAND cat
\"${CMAKE_CURRENT_SOURCE_DIR}/onejar_classpath.t
On Tue, Dec 27, 2011 at 4:55 PM, Rolf Eike Beer wrote:
> Don't use link_directories. Ever. You don't want to use it. Surely. It does
> not what you think it does. It only exists to create trouble, unexpected
> behaviour and questions to this list ;)
If that were possible it would be great. Consid
set(SRCS a/a.cpp b/b.cpp c/c.cpp d/d.cpp)
foreach(f IN LISTS SRCS)
get_filename_component(b ${f} NAME)
set_source_files_properties(${f} PROPERTIES
COMPILE_DEFINITIONS "MYSRCNAME=${b}")
endforeach()
add_executable(foo ${SRCS})
HTH
Michael
On 12/28/2011 08:17 AM, vivek goel wrote:
> Is
2011/12/28 vivek goel :
> I am installing static file using cmake INSTALL command
>
> I want to post process the output file using cmake
>
> example
>
> Static files are having string like v={{VERSION}}
>
> I want to replace {{VERSION}} in the output files.
>
> Is it possible with cmake ? using uti
Hello,
I have the following project structure:
framework1/inc/lib1 <- public headers
framework1/inc/lib2 <- public headers
framework1/libs/lib1/ <- CMakeLists.txt
framework1/libs/lib1/src <- implementation source+headers
framework1/libs/lib2/ <- CMakeLists.txt
framework1/libs/lib2/src <- impleme
I am installing static file using cmake INSTALL command
I want to post process the output file using cmake
example
Static files are having string like v={{VERSION}}
I want to replace {{VERSION}} in the output files.
Is it possible with cmake ? using utility like sed.
--
regards
Vivek Goel
--
14 matches
Mail list logo