Comments (5)
I did the following:
$ mkdir Build
$ cd Build
$ cmake ..
Everything still generated in the source root tree, and Build folder is just empty. Could you tell me exactly how you create the build tree in "Build" folder?
from freerdp.
I do exactly the same and I get
$ mkdir Build
$ cd Build
$ cmake ..
here I got normal cmake output
$ ls
channels CMakeFiles config.h include libfreerdp-chanman libfreerdp-gdi libfreerdp-utils
CMakeCache.txt cmake_install.cmake freerdp-ui libfreerdp-asn1 libfreerdp-core libfreerdp-kbd Makefile
each folder containing only subfolders (according to the source tree), cmake files and generated Makefile, but no source files obviously
e.g.
$ ls -R channels
channels/:
cliprdr CMakeFiles cmake_install.cmake Makefile rdpdbg
channels/cliprdr:
CMakeFiles cmake_install.cmake Makefile
channels/cliprdr/CMakeFiles:
cliprdr.dir CMakeDirectoryInformation.cmake progress.marks
channels/cliprdr/CMakeFiles/cliprdr.dir:
build.make cmake_clean.cmake DependInfo.cmake depend.make flags.make link.txt progress.make
channels/CMakeFiles:
CMakeDirectoryInformation.cmake progress.marks
channels/rdpdbg:
CMakeFiles cmake_install.cmake Makefile
channels/rdpdbg/CMakeFiles:
CMakeDirectoryInformation.cmake progress.marks rdpdbg.dir
channels/rdpdbg/CMakeFiles/rdpdbg.dir:
build.make cmake_clean.cmake DependInfo.cmake depend.make flags.make link.txt progress.make
- ubuntu 10.04 64bit, but it used to work that way in previous version too (and, as far as I know, my colleagues using cmake on OSX have the same behavior)
- CMake : I'm currently using cmake 2.8 but I've been using it since at least 2.4 and it has always been like this
- This is vanilla ubuntu's cmake, I did not make any specific configuration
I find this usage of cmake particularly useful since in case something in cmake's config/cache gets somehow corrupted (which happens from time to time), I just erase and re-create the Build directory :-) (besides, I can also have several build directory such as Build-release and a Build-debug in order not to recompile everything whenever I switch between Debug and Release compilation mode)
from freerdp.
According to cmake's website, you may need to clean your source tree in order to be able to create out-of-source build :
from freerdp.
I figured it out, and it turned out that I have to delete all generated cmake files before rerun cmake (it seems to even remember the previous binary tree.
I made a patch, and it seems good to just replace CMAKE_SOURCE_DIR with CMAKE_CURRENT_BINARY_DIR.
from freerdp.
Great, thanks !
from freerdp.
Related Issues (20)
- client/X11: Trying to paste copied files from a server crashes xfreerdp HOT 8
- -
- Compiler warning: xxxx called on pointer returned from a mismatched allocation function HOT 6
- More compiler warnings HOT 2
- stable-2.0 branch fails to build with GCC 14 HOT 1
- [sdl] Should /kbd:remap:KEY=VALUE work? HOT 1
- Multiple monitors acts weirdly under Plasma 6 Wayland HOT 3
- Crash is occurring in FreeRDP at the time of ERRINFO_LOGOFF_BY_USER in desktop screen in Android with Freerdp 2.11.2
- Crash is occurring in FreeRDP at the time of ERRINFO_LOGOFF_BY_USER in desktop screen in Android with Freerdp 2.11.2 HOT 4
- API Support for IANA Time Zone String Redirection in FreeRDP HOT 3
- Multitransport-flag slows down connection HOT 1
- Application "stucks" using RAIL on Gnome HOT 3
- Debian Repository for Stable Build HOT 3
- SDL Login Window cancels connection when pressing enter HOT 1
- How to use parameters to get the minimum bandwidth? HOT 1
- Screen flickers on random squares after update to FreeRDP3 (3.5.1) Not problem with FreeRDP 2.11.5// X session, KDE HOT 12
- [arch,kerberos] Freerdp 3 authentication hangs due to broken krb5.conf HOT 21
- Code usage request HOT 2
- Restoration of Public API Caching Functions and Headers in FreeRDP 3.x HOT 8
- Memory dump HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from freerdp.