Tags:
tag this topic
create new tag
view all tags
To create an external build (i.e. executables compile in a directory different from source): 1. navigate to the directory where you would like your build to be placed 2. call =cmake=, and supply the root directory of the source directory as the parameter (specifically, the location of the <nop>CMakeLists.txt file) 3. afterwards, simply type =make=, and everything should hopefully work... e.g. Your source directory * =some_dir\ngs_aligner\src= Your build directory * =some_dir\ngs_aligner\build= In =some_dir\ngs_aligner\build=, simply type: * =cmake ..\src= Side note, to optimize the speed of your program, you can do a "Release" build (using the above example): * navigate to the =build= directory * type =ccmake ..\src= (note extra =c=) * You should obtain an option screen * Move to =CMAKE_BUILD_TYPE=, press [enter] to edit * Type "Release", [enter] to finish * Hit [c] to confirm the change * Hit [q] to quit * type =make= as usual... * If all went well, your program is not optimized, and may run faster
E
dit
|
A
ttach
|
Watch
|
P
rint version
|
H
istory
: r1
|
B
acklinks
|
V
iew topic
|
Ra
w
edit
|
M
ore topic actions
Topic revision: r1 - 2010-05-04
-
jujubix
Home
Site map
BETA web
Communications web
Faculty web
Imager web
LCI web
Main web
SPL web
Sandbox web
TWiki web
TestCases web
BETA Web
Create New Topic
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
P
View
Raw View
Print version
Find backlinks
History
More topic actions
Edit
Raw edit
Attach file or image
Edit topic preference settings
Set new parent
More topic actions
Account
Log In
Register User
E
dit
A
ttach
Copyright © 2008-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback