Commit 6df27256 authored by Victor Sa Freire Fusco's avatar Victor Sa Freire Fusco
Browse files

[FTC-90]: Rearrumar a estrutura de diretorios do repositorio svn separando por...

[FTC-90]: Rearrumar a estrutura de diretorios do repositorio svn separando por linguagens como nos projetos SCS e OPENBUS

- Atualizando os scripts de build do cmake e jamroot



git-svn-id: https://subversion.tecgraf.puc-rio.br/engdist/ftc/core/lua/trunk@124115 ae0415b3-e90b-0410-900d-d0be9363c56b
parent f1b6d529
Pipeline #689 skipped
cmake_minimum_required(VERSION 2.6) cmake_minimum_required(VERSION 2.8)
project(ftc_lua CXX) project(ftc_lua CXX)
enable_testing ()
if(NO_OPENBUS) if(NO_OPENBUS)
# Not using OPENBUS_HOME but system libraries # Not using OPENBUS_HOME but system libraries
find_package(Lua51) find_package(Lua51)
...@@ -29,3 +31,9 @@ set_target_properties(lftc PROPERTIES OUTPUT_NAME "ftc" PREFIX "") ...@@ -29,3 +31,9 @@ set_target_properties(lftc PROPERTIES OUTPUT_NAME "ftc" PREFIX "")
# These next line is required but it is unclear exactly what they do. # These next line is required but it is unclear exactly what they do.
# The CMake FAQ mentions they are necessary and it does not work otherwise. # The CMake FAQ mentions they are necessary and it does not work otherwise.
SET_TARGET_PROPERTIES(lftc PROPERTIES CLEAN_DIRECT_OUTPUT 1) SET_TARGET_PROPERTIES(lftc PROPERTIES CLEAN_DIRECT_OUTPUT 1)
add_custom_target(fake_install
ALL
"${CMAKE_COMMAND}"
-D CMAKE_INSTALL_PREFIX:string=${CMAKE_CURRENT_BINARY_DIR}/testdir
-P "${CMAKE_CURRENT_BINARY_DIR}/cmake_install.cmake" )
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment