search for: cmake_minimum_requir

Displaying 20 results from an estimated 52 matches for "cmake_minimum_requir".

Did you mean: cmake_minimum_required
2018 Jan 25
1
[RFC] Handling cmake policies
Currently, cmake policies are manually maintained by each project. This is done via a set of `cmake_policy()` commands following the initial `cmake_minimum_required()` command at the top of each CMakeLists.txt project file. Somewhat surprisingly, these sets are local to each project and independent of each other -- even for in-tree builds containing multiple sub-projects. This is because cmake policies are reset whenever `cmake_minimum_required()` is calle...
2009 Feb 26
1
Can't build today's AGX Asterisk Addon with spandsp0.0.6pre3 or 4
Hi, With 0.0.6pre3: # ./build.sh CMake Warning (dev) in CMakeLists.txt: No cmake_minimum_required command is present. A line of code such as cmake_minimum_required(VERSION 2.6) should be added at the top of the file. The version specified may be lower if you wish to support older CMake versions for this project. For more information run "cmake --help-policy CMP0000"....
2020 Jul 30
2
Help with build
...------------------------------- CMake Warning (dev) in CMakeLists.txt: No project() command is present. The top-level CMakeLists.txt file must contain a literal, direct call to the project() command. Add a line of code such as project(ProjectName) near the top of the file, but after cmake_minimum_required(). CMake is pretending there is a "project(Project)" command on the first line. This warning is for project developers. Use -Wno-dev to suppress it. -- The C compiler identification is GNU 9.2.0 -- The CXX compiler identification is GNU 9.2.0 -- Detecting C compiler ABI info -- D...
2009 Mar 09
0
Can't build today's AGX Asterisk Addon with spandsp0.0.6pre3 or 4 [SOLVED]
...> (using 0.0.4 would be ok for me but current trunk doesn't allow this > anymore, it seems). > > > 2009/2/26 Olivier <oza-4h07 at myamail.com> > > Hi, >> >> With 0.0.6pre3: >> # ./build.sh >> CMake Warning (dev) in CMakeLists.txt: >> No cmake_minimum_required command is present. A line of code such as >> >> cmake_minimum_required(VERSION 2.6) >> >> should be added at the top of the file. The version specified may be >> lower >> if you wish to support older CMake versions for this project. For more >&gt...
2019 Sep 18
2
EngineBuilder(std::move(Owner)).create() return null
I just copy the latest code in HowToUseJIT and run, but the EngineBuilder(std::move(Owner)).create() keeps return null, any idea why? Here's my CMakeList: cmake_minimum_required(VERSION 3.12) project(llvm_test) set(CMAKE_CXX_STANDARD 14) find_package(LLVM REQUIRED CONFIG) llvm_map_components_to_libnames(llvm_libs support core irreader orcjit native) add_executable(llvm_test main.cpp) target_include_directories(llvm_test PUBLIC ${LLVM_INCLUDE_DIRS}) target_compile_defi...
2016 Oct 10
2
Embedding llvm as a git submodule in Project
...ig might help you figure it -- clang/llvm installed under (could have used build directory) ~/usr : $ cd /Users/dhinton/projects/cover/build/ && rm -rf * && CC=~/usr/bin/clang CXX=~/usr/bin/clang++ LLVM_DIR=~/usr/lib/cmake/llvm cmake ../CVRFI/ -GNinja $ cat ../CVRFI/CMakeLists.txt cmake_minimum_required(VERSION 2.8) set(CMAKE_EXPORT_COMPILE_COMMANDS ON) set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin) set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib) set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib) # Make Debug the default, pass -DCMAKE_BUILD_TYPE=Release to ch...
2010 Sep 09
2
[LLVMdev] [PATCH][CMake] Removing LLVMLibDeps.cmake and exporting libraries for CMake clients.
...extra library dependencies in LLVMLibDeps.cmake, along with what you already specify in the CMakeLists.txt file for the component. The attached patches remove this requirement, and add real CMake package export capabilities. A CMake user wishing to use LLVM can now use something similar to this: cmake_minimum_required(VERSION 2.8) find_package(LLVM REQUIRED) add_definitions(${LLVM_CXXFLAGS}) add_executable(llvm-external-test llvm-external-test.cpp) target_link_libraries(llvm-external-test ${LLVM_SYSTEM_LIBS} ${LLVM_JIT_LIBS} ${LLVM_NATIVECODEGEN_LIBS}) llvm+clang compile with these changes on both Linux and...
2019 Sep 18
2
EngineBuilder(std::move(Owner)).create() return null
...gt; Zhang > > 在 2019年9月18日,11:04,Yafei Liu via llvm-dev <llvm-dev at lists.llvm.org> 写道: > > I just copy the latest code in HowToUseJIT and run, but > the EngineBuilder(std::move(Owner)).create() keeps return null, any idea > why? > > Here's my CMakeList: > > cmake_minimum_required(VERSION 3.12) > project(llvm_test) > > set(CMAKE_CXX_STANDARD 14) > > find_package(LLVM REQUIRED CONFIG) > llvm_map_components_to_libnames(llvm_libs support core irreader orcjit native) > > add_executable(llvm_test main.cpp) > target_include_directories(llvm_test PUBLIC...
2010 Feb 10
1
[LLVMdev] llvm in a subdirectory with cmake
...rary and add_llvm_executable macros) from the project that has llvm in a subdirectory. For example: demo/ llvm/ demo.cpp CMakeLists.txt where CMakeLists.txt is as follows: # ----------------------------- Start of CMakeLists.txt ---------------------------------------- project(DEMO) cmake_minimum_required(VERSION 2.6.1) add_subdirectory("${DEMO_SOURCE_DIR}/llvm") include_directories( "${LLVM_SOURCE_DIR}/include" "${LLVM_BINARY_DIR}/include" ) set(LLVM_LINK_COMPONENTS core jit interpreter native) add_llvm_executable(DEMO demo.cpp) # ----------------------------...
2016 Oct 10
2
Embedding llvm as a git submodule in Project
...ang/llvm installed under (could have used build directory) ~/usr : > > $ cd /Users/dhinton/projects/cover/build/ && rm -rf * && > CC=~/usr/bin/clang CXX=~/usr/bin/clang++ LLVM_DIR=~/usr/lib/cmake/llvm > cmake ../CVRFI/ -GNinja > > $ cat ../CVRFI/CMakeLists.txt > cmake_minimum_required(VERSION 2.8) > > set(CMAKE_EXPORT_COMPILE_COMMANDS ON) > > set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin) > set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib) > set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib) > > # Make Debug the default,...
2010 Mar 20
0
[LLVMdev] 2.7 Pre-release1 available for testing
...CXX compiler ABI info - done -- Clang version: 1.1 CMake Error at include/clang/Basic/CMakeLists.txt:2 (tablegen): Unknown CMake command "tablegen". Call Stack (most recent call first): include/clang/Basic/CMakeLists.txt:9 (clang_diag_gen) CMake Warning (dev) in CMakeLists.txt: No cmake_minimum_required command is present. A line of code such as cmake_minimum_required(VERSION 2.8) should be added at the top of the file. The version specified may be lower if you wish to support older CMake versions for this project. For more information run "cmake --help-policy CMP0000"....
2010 Sep 09
0
[LLVMdev] [PATCH][CMake] Removing LLVMLibDeps.cmake and exporting libraries for CMake clients.
...LibDeps.cmake, along with what you already > specify in the CMakeLists.txt file for the component. > > The attached patches remove this requirement, and add real CMake > package export capabilities. A CMake user wishing to use LLVM can now > use something similar to this: > > cmake_minimum_required(VERSION 2.8) > > find_package(LLVM REQUIRED) > add_definitions(${LLVM_CXXFLAGS}) > add_executable(llvm-external-test llvm-external-test.cpp) > target_link_libraries(llvm-external-test ${LLVM_SYSTEM_LIBS} > ${LLVM_JIT_LIBS} ${LLVM_NATIVECODEGEN_LIBS}) > > llvm+clang compi...
2016 Oct 09
3
Embedding llvm as a git submodule in Project
Hi all. I want to use llvm in my project and I want to make llvm a git submodule in my project. http://llvm.org/docs/CMake.html#embedding-llvm-in-your-project At this in the documentation it claims to describe how to embed llvm into a project. I tried it that way but it doesn't work, because there isn't any findLLVM.cmake in the llvm/cmake/modules directory anymore (i don't
2010 Mar 20
2
[LLVMdev] 2.7 Pre-release1 available for testing
On Sat, Mar 20, 2010 at 10:13 AM, Russell Wallace <russell.wallace at gmail.com> wrote: > Ah, okay, thanks. Is the same true of Clang? > Clang builds with MSVC, though to build something you have to have a 'gcc' in your path to build the assembly that is produced.
2012 Oct 09
0
[LLVMdev] problem with my LLVM pass
On Fri, Oct 5, 2012 at 3:45 PM, Jun Koi <junkoi2004 at gmail.com> wrote: > On Fri, Oct 5, 2012 at 3:39 PM, David Chisnall > <David.Chisnall at cl.cam.ac.uk> wrote: >> On 5 Oct 2012, at 08:34, Jun Koi wrote: >> >>> any idea on how to fix the problem? >> >> The correct solution is to fix the LLVM build to install the .cmake files in a location that
2012 Oct 05
2
[LLVMdev] problem with my LLVM pass
On Fri, Oct 5, 2012 at 3:39 PM, David Chisnall <David.Chisnall at cl.cam.ac.uk> wrote: > On 5 Oct 2012, at 08:34, Jun Koi wrote: > >> any idea on how to fix the problem? > > The correct solution is to fix the LLVM build to install the .cmake files in a location that CMake knows about. could you please elaborate? > The hacky solution that I've used is just to copy
2012 Nov 25
6
[LLVMdev] Improved Covered Default Switch detection
...tch which updates HandleLLVMOptions.cmake to: - Test C and CXX compiler separately for -Wcovered-switch-default - Split SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG into a C and CXX variant - Replace set( ${variable} "${variable} arg") with list( append $variable "arg" ) - Check cmake_minimum_required of at least CMake 2.4 (where list append was introduced). Ok to commit? Joe ______________________________ Joe Abbey Director of Software Development Arxan Technologies jabbey at arxan.com<mailto:jabbey at arxan.com> www.arxan.com<http://www.arxan.com/> Protecting the App Economy™...
2012 Oct 18
2
[LLVMdev] problem with my LLVM pass
...ompiled and installed llvm 3.1 from source in normal way: >> >> ./configure; make; make install > > any help on this sample LLVM pass, please? any help, please? i am still stuck on this problem. i fixed CMakeLists.txt in the root directory to be like below: $ cat CMakeLists.txt cmake_minimum_required(VERSION 2.8) # A convenience variable: set(LLVM_ROOT "/usr" CACHE /usr/ "Root of LLVM install.") # A bit of a sanity check: if( NOT EXISTS ${LLVM_ROOT}/include/llvm ) message(FATAL_ERROR "LLVM_ROOT (${LLVM_ROOT}) is not a valid LLVM install") endif() # We incorpora...
2010 Nov 03
2
[LLVMdev] LLVM Cmake module?
...ailing list] Eli Gottlieb <eligottlieb at gmail.com> writes: > OK, I'm just going to paste in my CMakeLists.txt file. Like I said, > I'm building an LLVM install myself by untarring llvm, mkdir build in > the root dir of the source, cd build/, cmake .., make. > >> cmake_minimum_required (VERSION 2.6) >> project (libjllvm) >> add_library(jllvm Analysis_wrap.c BitReader_wrap.c BitWriter_wrap.c >> Core_wrap.c EnhancedDisassembly_wrap.c ExecutionEngine_wrap.c >> LinkTimeOptimizer_wrap.c lto_wrap.c Target_wrap.c >> Transforms/IPO_wrap.c Transforms/Scalar...
2017 Jul 20
2
FYI: Ninja-build user may use CMake-3.9
On Fri, Jul 21, 2017 at 1:16 AM Reid Kleckner <rnk at google.com> wrote: > This is great news! Do we know who contributed the changes to cut the > extra library dependencies? > > Do you think we should remove ENABLE_OBJLIB to simplify our CMake files in > the near future? It seems to me that anyone who cares about highly parallel > build throughput can upgrade CMake to get