I am a beginner on creating Visual projects with CMake for Cuda applications. I 
use the following CMakeLists

cmake_minimum_required(VERSION 2.8)

PROJECT(FermeHedge)

#Searching CUDA
FIND_PACKAGE(CUDA)

#Include the FindCUDA script
INCLUDE(FindCUDA)

SET(SOURCES
        aleat_lin.cu
        init.cu
        io.cu
        main.cu
        tools.cu
        vars.cu
        aleat_lin.h
        init.h
        io.h
        timer.h
        tools.h
        types.h
        vars.h
)

               
   
ADD_EXECUTABLE(FermeHedge ${SOURCES})

and I have the following generation errors

Configuring done CMake Error: CMake can not determine linker language for 
target:FermeHedge
CMake Error: CMake can not determine linker language for target:FermeHedge
CMake Error: CMake can not determine linker language for target:FermeHedge
Generating done
 
I think that I should set up some paths manually, but I don't know which ones. 
Thanks for help



Une messagerie gratuite, garantie à vie et des services en plus, ça vous tente ?
Je crée ma boîte mail www.laposte.net

_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to